--- AE/Installer/trunk/source/main_window.h 2009/07/06 00:59:40 385 +++ AE/Installer/trunk/source/main_window.h 2009/12/30 01:51:38 487 @@ -1,29 +1,33 @@ +/***************************************************************************\ +| Project: AE Installer | +| By: Gumby & Iritscen | +| File: Main_Window.h | +| Function: Handles GUI. | +| Created: 07/05/2009 20:38:25 | +\***************************************************************************/ -///////////////////////////////////////////////////////////////////////////// -// Name: main_window.h -// Purpose: -// Author: -// Modified by: -// Created: 07/05/2009 20:38:25 -// RCS-ID: -// Copyright: -// Licence: -///////////////////////////////////////////////////////////////////////////// - #ifndef _MAINWINDOW_H_ #define _MAINWINDOW_H_ - /*! * Includes */ - +#pragma mark INCLUDES ////@begin includes +#include "wx/bmpbuttn.h" +#include "wx/checkbox.h" +#include "wx/checklst.h" #include "wx/frame.h" +#include "wx/gauge.h" +#include "wx/generic/panelg.h" +#include "wx/radiobut.h" #include "wx/splitter.h" #include "wx/statline.h" #include "wx/statusbr.h" +#include "wx/textctrl.h" +#include +using namespace std; ////@end includes /*! @@ -38,7 +42,7 @@ class wxStatusBar; /*! * Control identifiers */ - +#pragma mark DEFINES ////@begin control identifiers #define ID_MAINWINDOW 10000 #define ID_SPLITTERWINDOW 10001 @@ -68,15 +72,11 @@ class wxStatusBar; #define SYMBOL_MAINWINDOW_POSITION wxDefaultPosition ////@end control identifiers - /*! * MainWindow class declaration */ -using namespace std; - -#include - +#pragma mark CLASS DECLARATIONS class MainWindow: public wxFrame { DECLARE_CLASS( MainWindow ) @@ -85,9 +85,11 @@ class MainWindow: public wxFrame public: /// Constructors MainWindow(); - MainWindow( wxWindow* parent, wxWindowID id = SYMBOL_MAINWINDOW_IDNAME, const wxString& caption = SYMBOL_MAINWINDOW_TITLE, const wxPoint& pos = SYMBOL_MAINWINDOW_POSITION, const wxSize& size = SYMBOL_MAINWINDOW_SIZE, long style = SYMBOL_MAINWINDOW_STYLE ); + MainWindow( wxWindow* parent, wxWindowID id = SYMBOL_MAINWINDOW_IDNAME, const wxString& caption = SYMBOL_MAINWINDOW_TITLE, + const wxPoint& pos = SYMBOL_MAINWINDOW_POSITION, const wxSize& size = SYMBOL_MAINWINDOW_SIZE, long style = SYMBOL_MAINWINDOW_STYLE ); - bool Create( wxWindow* parent, wxWindowID id = SYMBOL_MAINWINDOW_IDNAME, const wxString& caption = SYMBOL_MAINWINDOW_TITLE, const wxPoint& pos = SYMBOL_MAINWINDOW_POSITION, const wxSize& size = SYMBOL_MAINWINDOW_SIZE, long style = SYMBOL_MAINWINDOW_STYLE ); + bool Create( wxWindow* parent, wxWindowID id = SYMBOL_MAINWINDOW_IDNAME, const wxString& caption = SYMBOL_MAINWINDOW_TITLE, + const wxPoint& pos = SYMBOL_MAINWINDOW_POSITION, const wxSize& size = SYMBOL_MAINWINDOW_SIZE, long style = SYMBOL_MAINWINDOW_STYLE ); /// Destructor ~MainWindow(); @@ -189,4 +191,3 @@ public: #endif // _MAINWINDOW_H_ -void doglobalizeData(void);