X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/afc515904461bec3733682252de9eb1b01af1fe4..d391f6679dc29d7c76e4401aa2cc01ed013651e1:/utils/configtool/src/settingsdialog.h diff --git a/utils/configtool/src/settingsdialog.h b/utils/configtool/src/settingsdialog.h index 43939248de..329bb5a712 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 @@ -21,6 +21,11 @@ */ ////@begin includes + +#include "wx/dialog.h" +#include "wx/textctrl.h" +#include "wx/checkbox.h" + ////@end includes /*! @@ -54,14 +59,10 @@ class ctLocationSettingsDialog; */ 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(); @@ -88,6 +89,11 @@ public: DECLARE_CLASS( ctSettingsDialog ) DECLARE_EVENT_TABLE() + +protected: + + // Dialog controls. + wxNotebook* m_notebook; }; /*! @@ -95,10 +101,10 @@ public: */ 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(); @@ -123,10 +129,10 @@ public: */ 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(); @@ -153,6 +159,12 @@ public: DECLARE_CLASS( ctLocationSettingsDialog ) DECLARE_EVENT_TABLE() + +protected: + + // Dialog controls. + wxTextCtrl* m_wxWinHierarchy; + wxCheckBox* m_wxWinUse; }; #endif