]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dialog.h
make it possible to give focus to the notebook itself (patch 811013)
[wxWidgets.git] / include / wx / msw / dialog.h
index 559d1708eee956ab541f6cb7cc94a2e4865e29e5..d28c1544b3a8dc7b80eb78fc7337bb9eca6bf8d0 100644 (file)
@@ -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()