Added SetSheetStyle to property sheet dialog to allow specification
of alternative book styles and shrink-to-fit mode Updated dialogs sample with example of toolbook-style property sheet dialog git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -142,7 +142,8 @@ class SettingsDialog: public wxPropertySheetDialog
|
||||
{
|
||||
DECLARE_CLASS(SettingsDialog)
|
||||
public:
|
||||
SettingsDialog(wxWindow* parent);
|
||||
SettingsDialog(wxWindow* parent, bool useToolBook = false);
|
||||
~SettingsDialog();
|
||||
|
||||
wxPanel* CreateGeneralSettingsPage(wxWindow* parent);
|
||||
wxPanel* CreateAestheticSettingsPage(wxWindow* parent);
|
||||
@@ -160,6 +161,8 @@ protected:
|
||||
ID_FONT_SIZE
|
||||
};
|
||||
|
||||
wxImageList* m_imageList;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
@@ -253,6 +256,7 @@ public:
|
||||
#endif // USE_FONTDLG_GENERIC
|
||||
|
||||
void OnPropertySheet(wxCommandEvent& event);
|
||||
void OnPropertySheetToolBook(wxCommandEvent& event);
|
||||
void OnRequestUserAttention(wxCommandEvent& event);
|
||||
void OnExit(wxCommandEvent& event);
|
||||
|
||||
@@ -322,7 +326,8 @@ enum
|
||||
DIALOGS_FIND,
|
||||
DIALOGS_REPLACE,
|
||||
DIALOGS_REQUEST,
|
||||
DIALOGS_PROPERTY_SHEET
|
||||
DIALOGS_PROPERTY_SHEET,
|
||||
DIALOGS_PROPERTY_SHEET_TOOLBOOK
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user