]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/dbbrowse/dbbrowse.h
wxMediaCtrl patch from Ryan:
[wxWidgets.git] / demos / dbbrowse / dbbrowse.h
index 12596fdf9002f9f7ca10668303b267025778f33e..0bf41ebd3a0dfeba8ea736acbb2cbd6b03cbaea8 100644 (file)
@@ -1,7 +1,7 @@
 //----------------------------------------------------------------------------------------
 // Name:        dbbrowse.h
 // Purpose:     Through ODBC - Databases Browsen
 //----------------------------------------------------------------------------------------
 // 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
 // Modified by:
 // Created:     19991127
 // Copyright:   (c) Mark Johnson
 //----------------------------------------------------------------------------------------
 class MainFrame: public wxFrame
 {
 //----------------------------------------------------------------------------------------
 class MainFrame: public wxFrame
 {
- public:
-  MainFrame(wxFrame *frame, char *title,  const wxPoint& pos, const wxSize& size);
-  ~MainFrame(void);
+public:
+    MainFrame(wxFrame *frame, wxChar *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:
+    // 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 application type
 //----------------------------------------------------------------------------------------
 class MainApp: public wxApp
 {
 //----------------------------------------------------------------------------------------
 // Define a new application type
 //----------------------------------------------------------------------------------------
 class MainApp: public wxApp
 {
- 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 !
+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
 //----------------------------------------------------------------------------------------
 //----------------------------------------------------------------------------------------
 // ID for the menu quit command
 //----------------------------------------------------------------------------------------
-#define QUIT                         777
-#define ABOUT                        778
-#define HELP                         779
 #define TREE_CTRL_PGM                102
 #define GRID_CTRL                    103
 #define TREE_CTRL_DB                 104
 #define TREE_CTRL_PGM                102
 #define GRID_CTRL                    103
 #define TREE_CTRL_DB                 104