]>
git.saurik.com Git - wxWidgets.git/blob - demos/dbbrowse/dbbrowse.h
1 //----------------------------------------------------------------------------------------
3 // Purpose: Through ODBC - Databases Browsen
4 // Author: Mark Johnson, mj10777@gmx.net
7 // Copyright: (c) Mark Johnson
8 // Licence: wxWindows license
10 //----------------------------------------------------------------------------------------
11 // Define a new application type
12 //----------------------------------------------------------------------------------------
13 class MainApp
: public wxApp
16 bool OnInit(void); // Programmstart
17 wxLocale m_locale
; // locale we'll be using and language support - MUST be here !
19 //----------------------------------------------------------------------------------------
20 // Define a new frame type
21 //----------------------------------------------------------------------------------------
22 class MainFrame
: public wxFrame
25 MainFrame(wxFrame
*frame
, char *title
, const wxPoint
& pos
, const wxSize
& size
);
30 void OnAbout(wxCommandEvent
& event
);
31 void OnHelp(wxCommandEvent
& event
);
32 void OnQuit(wxCommandEvent
& event
);
33 //--------------------------------------------------------------------------------------
34 int DiffW
, DiffH
; // Needed the saving of Frame size
35 //--------------------------------------------------------------------------------------
36 DocSplitterWindow
*p_Splitter
; // for Document Views
37 MainDoc
*pDoc
; // Self made Document
38 wxHtmlHelpController
*p_Help
; // Help System
39 //--------------------------------------------------------------------------------------
42 //----------------------------------------------------------------------------------------
43 // ID for the menu quit command
44 //----------------------------------------------------------------------------------------
48 #define TREE_CTRL_PGM 102
50 #define TREE_CTRL_DB 104
51 #define GRID_CTRL_DB 105
52 //----------------------------------------------------------------------------------------