X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/313901f3e5b6c2b91ba7040e5fe2ac67b0ffa9cb..355a5e2bd317690c277cd9229af76d7b0db45d03:/include/wx/msw/dialog.h?ds=inline diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index c14daec8d2..d28c1544b3 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -12,7 +12,7 @@ #ifndef _WX_DIALOG_H_ #define _WX_DIALOG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dialog.h" #endif @@ -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()