X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..355a5e2bd317690c277cd9229af76d7b0db45d03:/include/wx/msw/dialog.h diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index 559d1708ee..d28c1544b3 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -20,7 +20,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr; -class WXDLLEXPORT wxWindowDisabler; +class WXDLLEXPORT wxDialogModalData; // Dialog boxes class WXDLLEXPORT wxDialog : public wxDialogBase @@ -116,9 +116,9 @@ protected: private: wxWindow *m_oldFocus; - // while we are showing a modal dialog we disable the other windows using - // this object - wxWindowDisabler *m_windowDisabler; + // this pointer is non-NULL only while the modal event loop is running + wxDialogModalData *m_modalData; + DECLARE_DYNAMIC_CLASS(wxDialog) DECLARE_EVENT_TABLE()