]> git.saurik.com Git - wxWidgets.git/blob - demos/dbbrowse/dbbrowse.h
dbbrowse.cpp dbgrid.cpp dlguser.cpp pgmctrl.cpp de/help.mo
[wxWidgets.git] / demos / dbbrowse / dbbrowse.h
1 //----------------------------------------------------------------------------------------
2 // Name: dbbrowse.h
3 // Purpose: Through ODBC - Databases Browsen
4 // Author: Mark Johnson, mj10777@gmx.net
5 // Modified by:
6 // Created: 19991127
7 // Copyright: (c) Mark Johnson
8 // Licence: wxWindows license
9 // RCS-ID: $Id$
10 //----------------------------------------------------------------------------------------
11 // Define a new application type
12 //----------------------------------------------------------------------------------------
13 class MainApp: public wxApp
14 {
15 public:
16 bool OnInit(void); // Programmstart
17 wxLocale m_locale; // locale we'll be using and language support
18 };
19 //----------------------------------------------------------------------------------------
20 // Define a new frame type
21 //----------------------------------------------------------------------------------------
22 class MainFrame: public wxFrame
23 {
24 public:
25 MainFrame(wxFrame *frame, char *title, const wxPoint& pos, const wxSize& size);
26 ~MainFrame(void);
27
28 public:
29 // menu callbacks
30 void OnQuit(wxCommandEvent& event);
31 void OnAbout(wxCommandEvent& event);
32 void OnHelp(wxCommandEvent& event);
33 //--------------------------------------------------------------------------------------
34 wxHtmlHelpController *p_Help;
35 //--------------------------------------------------------------------------------------
36 int DiffW, DiffH;
37 mjDoc *pDoc;
38 DocSplitterWindow *p_Splitter;
39 //--------------------------------------------------------------------------------------
40 DECLARE_EVENT_TABLE()
41 };
42 //----------------------------------------------------------------------------------------
43 // ID for the menu quit command
44 //----------------------------------------------------------------------------------------
45 #define QUIT 777
46 #define ABOUT 778
47 #define HELP 779
48 #define TREE_CTRL_PGM 102
49 #define GRID_CTRL 103
50 #define TREE_CTRL_DB 104
51 #define GRID_CTRL_DB 105
52 //----------------------------------------------------------------------------------------