X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c27bcbd5a7cec9f03b15c69824da99c5bb75924a..978d3d3647fde4362cfe8b7b2b505ba1cc52770a:/include/wx/generic/propdlg.h diff --git a/include/wx/generic/propdlg.h b/include/wx/generic/propdlg.h index aaa717cee4..ec63003b14 100644 --- a/include/wx/generic/propdlg.h +++ b/include/wx/generic/propdlg.h @@ -16,6 +16,10 @@ #pragma interface "propdlg.h" #endif +#include "wx/defs.h" + +#if wxUSE_BOOKCTRL + class WXDLLEXPORT wxBookCtrlBase; //----------------------------------------------------------------------------- @@ -71,8 +75,6 @@ public: long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxDialogNameStr); - void Init(); - //// Accessors // Set and get the notebook @@ -100,12 +102,21 @@ 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 // wxUSE_BOOKCTRL + #endif // _WX_PROPDLG_H_