X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8105809ef8f7cb0d1a9933f3f790b7b446c7cfa..a8d08dbd459c1b7be9c1d82d9a78a32ae2730d86:/utils/configtool/src/settingsdialog.h diff --git a/utils/configtool/src/settingsdialog.h b/utils/configtool/src/settingsdialog.h index bee8b64381..4005476a8a 100644 --- a/utils/configtool/src/settingsdialog.h +++ b/utils/configtool/src/settingsdialog.h @@ -1,18 +1,18 @@ ///////////////////////////////////////////////////////////////////////////// // Name: settingsdialog.h -// Purpose: -// Author: -// Modified by: -// Created: -// RCS-ID: -// Copyright: -// Licence: +// Purpose: Settings dialog +// Author: Julian Smart +// Modified by: +// Created: 2002-09-04 +// RCS-ID: $Id$ +// Copyright: (c) Julian Smart +// Licence: ///////////////////////////////////////////////////////////////////////////// #ifndef _SETTINGSDIALOG_H_ #define _SETTINGSDIALOG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "settingsdialog.cpp" #endif @@ -42,6 +42,7 @@ class ctLocationSettingsDialog; #define ID_GENERAL_SETTINGS_DIALOG 10005 #define ID_LOAD_LAST_DOCUMENT 10006 #define ID_SHOW_TOOLTIPS 10007 +#define ID_DEFAULT_FILE_KIND 10003 #define ID_LOCATION_SETTINGS_DIALOG 10008 #define ID_WXWIN_HIERARCHY 10010 #define ID_CHOOSE_WXWIN_HIERARCHY 10011 @@ -56,11 +57,7 @@ class ctSettingsDialog: public wxDialog { public: /// Constructor - ctSettingsDialog( wxWindow* parent, wxWindowID id = -1, - const wxString& caption = _("Configuration Settings"), - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = wxCAPTION|wxSYSTEM_MENU ); + ctSettingsDialog( wxWindow* parent ); /// Creates the controls and sizers void CreateControls(); @@ -87,6 +84,11 @@ public: DECLARE_CLASS( ctSettingsDialog ) DECLARE_EVENT_TABLE() + +protected: + + // Dialog controls. + wxNotebook* m_notebook; }; /*! @@ -97,7 +99,7 @@ class ctGeneralSettingsDialog: public wxPanel { public: /// Constructor - ctGeneralSettingsDialog( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTAB_TRAVERSAL ); + ctGeneralSettingsDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTAB_TRAVERSAL ); /// Creates the controls and sizers void CreateControls(); @@ -125,7 +127,7 @@ class ctLocationSettingsDialog: public wxPanel { public: /// Constructor - ctLocationSettingsDialog( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTAB_TRAVERSAL ); + ctLocationSettingsDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTAB_TRAVERSAL ); /// Creates the controls and sizers void CreateControls(); @@ -152,6 +154,12 @@ public: DECLARE_CLASS( ctLocationSettingsDialog ) DECLARE_EVENT_TABLE() + +protected: + + // Dialog controls. + wxTextCtrl* m_wxWinHierarchy; + wxCheckBox* m_wxWinUse; }; #endif