X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c27bcbd5a7cec9f03b15c69824da99c5bb75924a..2eef85139b69a67ca067e5eba6b85336d21ad0dc:/include/wx/generic/propdlg.h diff --git a/include/wx/generic/propdlg.h b/include/wx/generic/propdlg.h index aaa717cee4..8d168f32d5 100644 --- a/include/wx/generic/propdlg.h +++ b/include/wx/generic/propdlg.h @@ -12,9 +12,9 @@ #ifndef _WX_PROPDLG_H_ #define _WX_PROPDLG_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "propdlg.h" -#endif +#include "wx/defs.h" + +#if wxUSE_BOOKCTRL class WXDLLEXPORT wxBookCtrlBase; @@ -71,8 +71,6 @@ public: long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxDialogNameStr); - void Init(); - //// Accessors // Set and get the notebook @@ -100,12 +98,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_