]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/dialog_osx.cpp
adding hook, but unfortunately no solution yet for wxComboBox::SetEditable
[wxWidgets.git] / src / osx / dialog_osx.cpp
index da2c32afece2da807ca4292e67b7f5183e82a845..cb127f323b817f660d9d931039af2a7853fe3476 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "wx/dialog.h"
 #include "wx/evtloop.h"
+#include "wx/modalhook.h"
 
 #ifndef WX_PRECOMP
     #include "wx/app.h"
@@ -137,6 +138,8 @@ bool wxDialog::Show(bool show)
 // Replacement for Show(true) for modal dialogs - returns return code
 int wxDialog::ShowModal()
 {
+    WX_HOOK_MODAL_DIALOG();
+
     m_modality = wxDIALOG_MODALITY_APP_MODAL;
 
     Show();