X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/684883e3e37853c159642d41e3b61cf43f140076..67a083dd38d1ad1df8c6a25a58bb2f0ec4f3a936:/samples/dialogs/dialogs.h?ds=sidebyside diff --git a/samples/dialogs/dialogs.h b/samples/dialogs/dialogs.h index 6b9b05064e..45e8d92843 100644 --- a/samples/dialogs/dialogs.h +++ b/samples/dialogs/dialogs.h @@ -147,7 +147,7 @@ class SettingsDialog: public wxPropertySheetDialog { DECLARE_CLASS(SettingsDialog) public: - SettingsDialog(wxWindow* parent, bool useToolBook = false); + SettingsDialog(wxWindow* parent, int dialogType); ~SettingsDialog(); wxPanel* CreateGeneralSettingsPage(wxWindow* parent); @@ -263,7 +263,6 @@ public: #endif // USE_FONTDLG_GENERIC void OnPropertySheet(wxCommandEvent& event); - void OnPropertySheetToolBook(wxCommandEvent& event); void OnRequestUserAttention(wxCommandEvent& event); void OnExit(wxCommandEvent& event); @@ -336,7 +335,8 @@ enum DIALOGS_REPLACE, DIALOGS_REQUEST, DIALOGS_PROPERTY_SHEET, - DIALOGS_PROPERTY_SHEET_TOOLBOOK + DIALOGS_PROPERTY_SHEET_TOOLBOOK, + DIALOGS_PROPERTY_SHEET_BUTTONTOOLBOOK }; #endif