If you mean Notify as in BRL.System's Notify() then I've found it's best not to mix it with wxMax.
Not sure if that's your problem in this case, but use a wxMessageBox(s_text) instead.
Not sure if that's your problem in this case, but use a wxMessageBox(s_text) instead.