X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fe30bceff0445f540e639d2b6d3977d56b34020..2934005d7daecb4343b394d9faabc86c8d04dca2:/utils/configtool/src/configbrowser.cpp diff --git a/utils/configtool/src/configbrowser.cpp b/utils/configtool/src/configbrowser.cpp index 372c2ca450..b82261ca0e 100644 --- a/utils/configtool/src/configbrowser.cpp +++ b/utils/configtool/src/configbrowser.cpp @@ -1,19 +1,28 @@ ///////////////////////////////////////////////////////////////////////////// // Name: configbrowser.cpp -// Purpose: -// Author: +// Purpose: Configuration browser +// Author: Julian Smart // Modified by: -// Created: -// RCS-ID: -// Copyright: +// Created: 2003-08-14 +// RCS-ID: $Id$ +// Copyright: (c) Julian Smart // Licence: ///////////////////////////////////////////////////////////////////////////// -////@begin includes +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP + #include "wx/wx.h" #include "wx/splitter.h" #include "wx/treectrl.h" -////@end includes + +#endif #include "configbrowser.h" @@ -58,14 +67,13 @@ ctConfigurationBrowserWindow::ctConfigurationBrowserWindow( wxWindow* parent, wx */ void ctConfigurationBrowserWindow::CreateControls() -{ +{ ////@begin ctConfigurationBrowserWindow content construction ctConfigurationBrowserWindow* item1 = this; wxBoxSizer* item2 = new wxBoxSizer(wxVERTICAL); item1->SetSizer(item2); - item1->SetAutoLayout(true); wxSplitterWindow* item3 = new wxSplitterWindow(item1, ID_CONFIGBROWSER_SPLITTERWINDOW, wxDefaultPosition, wxSize(400, 400), wxSP_3DBORDER|wxSP_3DSASH|wxNO_BORDER|wxNO_FULL_REPAINT_ON_RESIZE); wxTreeCtrl* item4 = new wxTreeCtrl(item3, ID_CONFIGURATION_BROWSER_TREECTRL, wxDefaultPosition, wxSize(100, 100), wxTR_SINGLE|wxNO_BORDER); @@ -142,14 +150,13 @@ ctConfigurationBrowserControlPanel::ctConfigurationBrowserControlPanel( wxWindow */ void ctConfigurationBrowserControlPanel::CreateControls() -{ +{ ////@begin ctConfigurationBrowserControlPanel content construction ctConfigurationBrowserControlPanel* item5 = this; wxBoxSizer* item6 = new wxBoxSizer(wxVERTICAL); item5->SetSizer(item6); - item5->SetAutoLayout(true); wxStaticText* item7 = new wxStaticText(item5, wxID_STATIC, _("Browse, add and remove configurations"), wxDefaultPosition, wxDefaultSize, 0); item6->Add(item7, 0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxADJUST_MINSIZE, 5); @@ -170,7 +177,7 @@ void ctConfigurationBrowserControlPanel::CreateControls() wxStaticText* item13 = new wxStaticText(item5, ID_CONFIGURATION_NAME, _("Configuration:"), wxDefaultPosition, wxDefaultSize, 0); item6->Add(item13, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP|wxADJUST_MINSIZE, 5); - wxTextCtrl* item14 = new wxTextCtrl(item5, ID_CONFIGURATION_DESCRIPTION, _(""), wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_RICH); + wxTextCtrl* item14 = new wxTextCtrl(item5, ID_CONFIGURATION_DESCRIPTION, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_RICH); item6->Add(item14, 1, wxGROW|wxALL, 5); ////@end ctConfigurationBrowserControlPanel content construction