]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/propdlg.h
make sure we don't miss resizes even when no sizers are involved
[wxWidgets.git] / include / wx / generic / propdlg.h
index aaa717cee49bb70dc3e4e05bd4923f91b4f23f8b..a2d43c9c574f1630b4ae7063e3c1bcb94dd9052e 100644 (file)
@@ -71,8 +71,6 @@ public:
                        long style = wxDEFAULT_DIALOG_STYLE,
                        const wxString& name = wxDialogNameStr);
 
-    void Init();
-
 //// Accessors
 
     // Set and get the notebook
@@ -100,11 +98,18 @@ public:
     // Adds the book control to the inner sizer.
     virtual void AddBookCtrl(wxSizer* sizer);
 
+    // Set the focus
+    void OnActivate(wxActivateEvent& event);
+
+private:
+    void Init();
+
 protected:
     wxBookCtrlBase* m_bookCtrl;
     wxSizer*        m_innerSizer; // sizer for extra space
 
     DECLARE_DYNAMIC_CLASS(wxPropertySheetDialog)
+    DECLARE_EVENT_TABLE()
 };
 
 #endif // _WX_PROPDLG_H_