]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configtool/src/configitemselector.cpp
wxSplashScreen sample added to global makefiles.
[wxWidgets.git] / utils / configtool / src / configitemselector.cpp
index 111a66c7a0d7466b70d84a575e926c30d83470bb..6b01692a7b282b91c7dfd05a1a3dce600ecf2d58 100644 (file)
 #pragma implementation "configitemselector.h"
 #endif
 
+// For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-    #pragma hdrstop
+#pragma hdrstop
 #endif
 
 #ifndef WX_PRECOMP
-    #include "wx/wx.h"
-#endif
 
-#include <wx/cshelp.h>
-#include <wx/statline.h>
-#include <wx/splitter.h>
-#include <wx/scrolwin.h>
-#include <wx/spinctrl.h>
-#include <wx/spinbutt.h>
-#include <wx/valgen.h>
-#include <wx/notebook.h>
+#include "wx/statline.h"
+#include "wx/splitter.h"
+#include "wx/scrolwin.h"
+#include "wx/spinctrl.h"
+#include "wx/spinbutt.h"
+
+#endif
 
+#include "wx/cshelp.h"
+#include "wx/notebook.h"
+#include "wx/valgen.h"
 #include "configitemselector.h"
 #include "configtooldoc.h"
 #include "configtoolview.h"
@@ -71,9 +72,9 @@ END_EVENT_TABLE()
  * ctConfigItemsSelector constructor
  */
 
-ctConfigItemsSelector::ctConfigItemsSelector( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
+ctConfigItemsSelector::ctConfigItemsSelector( wxWindow* parent, wxWindowID id, const wxString& caption)
 {
-    wxDialog::Create( parent, id, caption, pos, size, style );
+    wxDialog::Create( parent, id, caption);
 
     CreateControls();
     InitSourceConfigList();
@@ -251,7 +252,7 @@ void ctConfigItemsSelector::InitSourceConfigList(ctConfigItem* item)
         masterList->Append(item->GetName());
     }
 
-    wxNode* node = item->GetChildren().GetFirst();
+    wxObjectList::compatibility_iterator node = item->GetChildren().GetFirst();
     while (node)
     {
         ctConfigItem* child = (ctConfigItem*) node->GetData();