]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configtool/src/configbrowser.cpp
Changed version number
[wxWidgets.git] / utils / configtool / src / configbrowser.cpp
index 0ca4c267f922f74ad559d23c559560309469d86f..b82261ca0ee8321eaf33e8b679de54e6c9fe84a6 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,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);
@@ -92,7 +100,7 @@ void ctConfigurationBrowserWindow::OnConfigurationBrowserTreectrl( wxTreeEvent&
 
 bool ctConfigurationBrowserWindow::ShowToolTips()
 {
-  return TRUE;
+  return true;
 }
 
 /*!
@@ -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
@@ -242,5 +249,5 @@ void ctConfigurationBrowserControlPanel::OnUpdateRenameConfiguration( wxUpdateUI
 
 bool ctConfigurationBrowserControlPanel::ShowToolTips()
 {
-  return TRUE;
+  return true;
 }