1 //------------------------------------------------------------------------------
3 // Purpose: Through ODBC - Databases Browsen
4 // Author: Mark Johnson, mj10777@gmx.net
7 // Copyright: (c) Mark Johnson
8 // Licence: wxWindows license
9 //---------------------------------------------------------------------------
10 // Define a new application type
11 //------------------------------------------------------------------------------
12 class MyApp
: public wxApp
16 wxLocale m_locale
; // locale we'll be using
18 //------------------------------------------------------------------------------
19 // Define a new frame type
20 //------------------------------------------------------------------------------
21 class MainFrame
: public wxFrame
24 MainFrame(wxFrame
*frame
, char *title
, int x
, int y
, int w
, int h
);
29 void InitializeMenu();
30 void OnQuit(wxCommandEvent
& event
);
31 void OnAbout(wxCommandEvent
& event
);
32 void OnHelp(wxCommandEvent
& event
);
33 //--------------------------------------------------------
34 wxHtmlHelpController help
;
35 //--------------------------------------------------------
38 DocSplitterWindow
*p_Splitter
;
39 //--------------------------------------------------------
42 //------------------------------------------------------------------------------
43 // ID for the menu quit command
44 //------------------------------------------------------------------------------
48 #define SPLITTER_FRAME 100
49 #define SPLITTER_WINDOW 101
50 #define TREE_CTRL_PGM 102
52 #define TREE_CTRL_DB 104
53 #define GRID_CTRL_DB 105
54 //------------------------------------------------------------------------------