X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3011bf2bdce9f64a65f94ee741c9d1d163a29611..9f8845289521c7f53e95b6dfd8275daab8b05639:/include/wx/os2/dialog.h diff --git a/include/wx/os2/dialog.h b/include/wx/os2/dialog.h index 0198cd9bfa..89671430e9 100644 --- a/include/wx/os2/dialog.h +++ b/include/wx/os2/dialog.h @@ -16,6 +16,8 @@ WXDLLEXPORT_DATA(extern const char*) wxDialogNameStr; +class WXDLLEXPORT wxDialogModalData; + // // Dialog boxes // @@ -110,7 +112,6 @@ public: // // Event handlers // - bool OnClose(void); void OnCharHook(wxKeyEvent& rEvent); void OnCloseWindow(wxCloseEvent& rEvent); @@ -148,6 +149,9 @@ protected: private: wxWindow* m_pOldFocus; + // this pointer is non-NULL only while the modal event loop is running + wxDialogModalData *m_modalData; + // // While we are showing a modal dialog we disable the other windows using // this object