X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c27bcbd5a7cec9f03b15c69824da99c5bb75924a..4817190d096aa482d50d1f3bc56278e1a17b9c42:/include/wx/generic/propdlg.h diff --git a/include/wx/generic/propdlg.h b/include/wx/generic/propdlg.h index aaa717cee4..a2d43c9c57 100644 --- a/include/wx/generic/propdlg.h +++ b/include/wx/generic/propdlg.h @@ -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_