]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/dbbrowse/dbbrowse.h
SWIGged updates for wxGTK
[wxWidgets.git] / demos / dbbrowse / dbbrowse.h
index 0949892916d6a70cea7c689c3e48edf769865a7b..ab8c2b98a839907441aba0ef80ba51fada7743c1 100644 (file)
@@ -1,44 +1,48 @@
 //----------------------------------------------------------------------------------------
 // Name:        dbbrowse.h
 // Purpose:     Through ODBC - Databases Browsen
-// Author:      Mark Johnson, mj10777@gmx.net
+// Author:      Mark Johnson
 // Modified by:
 // Created:     19991127
 // Copyright:   (c) Mark Johnson
 // Licence:     wxWindows license
 // RCS-ID:      $Id$
 //----------------------------------------------------------------------------------------
-// Define a new application type
+// Define a new frame type
 //----------------------------------------------------------------------------------------
-class MainApp: public wxApp
+class MainFrame: public wxFrame
 {
- public:
-  bool OnInit(void); // Programmstart
-  wxLocale m_locale; // locale we'll be using and language support - MUST be here !
+public:
+    MainFrame(wxFrame *frame, char *title,  const wxPoint& pos, const wxSize& size);
+    ~MainFrame(void);
+    
+public:
+    // menu callbacks
+    void OnAbout(wxCommandEvent& event);
+    void OnHelp(wxCommandEvent& event);
+    void OnQuit(wxCommandEvent& event);
+    //--------------------------------------------------------------------------------------
+    int DiffW, DiffH;                  // Needed the saving of Frame size
+    //--------------------------------------------------------------------------------------
+    DocSplitterWindow    *p_Splitter;  // for Document Views
+    MainDoc              *pDoc;        // Self made Document
+    wxHtmlHelpController *p_Help;      // Help System
+
+    //--------------------------------------------------------------------------------------
+    DECLARE_EVENT_TABLE()
 };
+
 //----------------------------------------------------------------------------------------
-// Define a new frame type
+// Define a new application type
 //----------------------------------------------------------------------------------------
-class MainFrame: public wxFrame
+class MainApp: public wxApp
 {
- public:
-  MainFrame(wxFrame *frame, char *title,  const wxPoint& pos, const wxSize& size);
-  ~MainFrame(void);
-
- public:
-  // menu callbacks
-  void OnAbout(wxCommandEvent& event);
-  void OnHelp(wxCommandEvent& event);
-  void OnQuit(wxCommandEvent& event);
-  //--------------------------------------------------------------------------------------
-  int DiffW, DiffH;                  // Needed the saving of Frame size
-  //--------------------------------------------------------------------------------------
-  DocSplitterWindow    *p_Splitter;  // for Document Views
-  MainDoc              *pDoc;        // Self made Document
-  wxHtmlHelpController *p_Help;      // Help System
-  //--------------------------------------------------------------------------------------
- DECLARE_EVENT_TABLE()
+public:
+    MainFrame *frame;                           // The one and only MainFrame
+    bool OnInit(void); // Programmstart
+    wxLocale m_locale; // locale we'll be using and language support - MUST be here !
 };
+
 //----------------------------------------------------------------------------------------
 // ID for the menu quit command
 //----------------------------------------------------------------------------------------