X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/260460ae06e11201d161eb6d1b09ba859900a4bc..8b2a4e0c1adb8a07f362986a343490deb57ac669:/demos/dbbrowse/dbbrowse.h diff --git a/demos/dbbrowse/dbbrowse.h b/demos/dbbrowse/dbbrowse.h index 12596fdf90..ab8c2b98a8 100644 --- a/demos/dbbrowse/dbbrowse.h +++ b/demos/dbbrowse/dbbrowse.h @@ -1,7 +1,7 @@ //---------------------------------------------------------------------------------------- // 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 @@ -12,34 +12,37 @@ //---------------------------------------------------------------------------------------- class MainFrame: public wxFrame { - public: - MainFrame(wxFrame *frame, char *title, const wxPoint& pos, const wxSize& size); - ~MainFrame(void); +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 - 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() + //-------------------------------------------------------------------------------------- + DECLARE_EVENT_TABLE() }; + //---------------------------------------------------------------------------------------- // 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 //----------------------------------------------------------------------------------------