X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c9287bbb4ac43f9136ee45dee7dbb7af29a9ae3..60acae65faac4b98254c76437d4bb9ac55f5d759:/include/wx/generic/propdlg.h?ds=sidebyside diff --git a/include/wx/generic/propdlg.h b/include/wx/generic/propdlg.h index 9559d8dee0..a2d43c9c57 100644 --- a/include/wx/generic/propdlg.h +++ b/include/wx/generic/propdlg.h @@ -48,7 +48,7 @@ class WXDLLEXPORT wxBookCtrlBase; // kind of book control. //----------------------------------------------------------------------------- -class WXDLLEXPORT wxPropertySheetDialog : public wxDialog +class WXDLLIMPEXP_ADV wxPropertySheetDialog : public wxDialog { public: wxPropertySheetDialog() : wxDialog() { Init(); } @@ -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_