]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configtool/src/configbrowser.cpp
Regenerate Makefile.in, configure and the VC++ project files after adding rcdefs.h
[wxWidgets.git] / utils / configtool / src / configbrowser.cpp
index 372c2ca450e49155fac2b7f921e60ce1c8ab0099..387607a230a43cb9eb12b40c0e2b2ab0b9c8da92 100644 (file)
@@ -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,16 +67,15 @@ 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);
+    wxSplitterWindow* item3 = new wxSplitterWindow(item1, ID_CONFIGBROWSER_SPLITTERWINDOW, wxDefaultPosition, wxSize(400, 400), wxSP_3DBORDER|wxSP_3DSASH|wxNO_BORDER|wxNO_FULL_REPAINT_ON_RESIZE|wxSP_NO_XP_THEME);
     wxTreeCtrl* item4 = new wxTreeCtrl(item3, ID_CONFIGURATION_BROWSER_TREECTRL, wxDefaultPosition, wxSize(100, 100), wxTR_SINGLE|wxNO_BORDER);
     ctConfigurationBrowserControlPanel* item5 = new ctConfigurationBrowserControlPanel(item3, ID_PANEL, wxDefaultPosition, wxSize(100, 80), wxNO_BORDER|wxTAB_TRAVERSAL);
     item3->SplitVertically(item4, item5, 200);
@@ -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