]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/iphone/msgdlg.mm
Handle wxALWAYS_SHOW_SB in wxOSX.
[wxWidgets.git] / src / osx / iphone / msgdlg.mm
index bb43a6624376492bf0fac5599dd13eb7e2479146..c6b4021a88b8fb0786310b9c1f896d20dffee604 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "wx/thread.h"
 #include "wx/osx/private.h"
+#include "wx/modalhook.h"
 
 
 IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
@@ -36,6 +37,8 @@ wxMessageDialog::wxMessageDialog(wxWindow *parent,
 
 int wxMessageDialog::ShowModal()
 {
+    WX_HOOK_MODAL_DIALOG();
+
     int resultbutton = wxID_CANCEL;
 
     const long style = GetMessageDialogStyle();