]>
Commit | Line | Data |
---|---|---|
b5ffecfc GT |
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 | |
c09d434d | 9 | // RCS-ID: $Id$ |
b5ffecfc GT |
10 | //--------------------------------------------------------------------------- |
11 | // Define a new application type | |
12 | //------------------------------------------------------------------------------ | |
13 | class MyApp: public wxApp | |
14 | { | |
15 | public: | |
16 | bool OnInit(void); | |
17 | wxLocale m_locale; // locale we'll be using | |
18 | }; | |
19 | //------------------------------------------------------------------------------ | |
20 | // Define a new frame type | |
21 | //------------------------------------------------------------------------------ | |
22 | class MainFrame: public wxFrame | |
23 | { | |
24 | public: | |
25 | MainFrame(wxFrame *frame, char *title, int x, int y, int w, int h); | |
26 | ~MainFrame(void); | |
27 | ||
28 | public: | |
29 | // menu callbacks | |
30 | void InitializeMenu(); | |
31 | void OnQuit(wxCommandEvent& event); | |
32 | void OnAbout(wxCommandEvent& event); | |
33 | void OnHelp(wxCommandEvent& event); | |
34 | //-------------------------------------------------------- | |
35 | wxHtmlHelpController help; | |
36 | //-------------------------------------------------------- | |
37 | int DiffW, DiffH; | |
38 | mjDoc *pDoc; | |
39 | DocSplitterWindow *p_Splitter; | |
40 | //-------------------------------------------------------- | |
41 | DECLARE_EVENT_TABLE() | |
42 | }; | |
43 | //------------------------------------------------------------------------------ | |
44 | // ID for the menu quit command | |
45 | //------------------------------------------------------------------------------ | |
46 | #define QUIT 1 | |
47 | #define ABOUT 2 | |
48 | #define HELP 3 | |
49 | #define SPLITTER_FRAME 100 | |
50 | #define SPLITTER_WINDOW 101 | |
51 | #define TREE_CTRL_PGM 102 | |
52 | #define GRID_CTRL 103 | |
53 | #define TREE_CTRL_DB 104 | |
54 | #define GRID_CTRL_DB 105 | |
55 | //------------------------------------------------------------------------------ |