]> git.saurik.com Git - wxWidgets.git/blob - demos/dbbrowse/dbbrowse.h
replaced make with $MAKE
[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 frame type
12 //----------------------------------------------------------------------------------------
13 class MainFrame: public wxFrame
14 {
15 public:
16 MainFrame(wxFrame *frame, char *title, const wxPoint& pos, const wxSize& size);
17 ~MainFrame(void);
18
19 public:
20 // menu callbacks
21 void OnAbout(wxCommandEvent& event);
22 void OnHelp(wxCommandEvent& event);
23 void OnQuit(wxCommandEvent& event);
24 //--------------------------------------------------------------------------------------
25 int DiffW, DiffH; // Needed the saving of Frame size
26 //--------------------------------------------------------------------------------------
27 DocSplitterWindow *p_Splitter; // for Document Views
28 MainDoc *pDoc; // Self made Document
29 wxHtmlHelpController *p_Help; // Help System
30 //--------------------------------------------------------------------------------------
31 DECLARE_EVENT_TABLE()
32 };
33 //----------------------------------------------------------------------------------------
34 // Define a new application type
35 //----------------------------------------------------------------------------------------
36 class MainApp: public wxApp
37 {
38 public:
39 MainFrame *frame; // The one and only MainFrame
40 bool OnInit(void); // Programmstart
41 wxLocale m_locale; // locale we'll be using and language support - MUST be here !
42 };
43 //----------------------------------------------------------------------------------------
44 // ID for the menu quit command
45 //----------------------------------------------------------------------------------------
46 #define QUIT 777
47 #define ABOUT 778
48 #define HELP 779
49 #define TREE_CTRL_PGM 102
50 #define GRID_CTRL 103
51 #define TREE_CTRL_DB 104
52 #define GRID_CTRL_DB 105
53 //----------------------------------------------------------------------------------------