]> git.saurik.com Git - wxWidgets.git/blame - demos/dbbrowse/dbbrowse.h
Fixed file names to be the 8.3 name style
[wxWidgets.git] / demos / dbbrowse / dbbrowse.h
CommitLineData
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
9//---------------------------------------------------------------------------
10// Define a new application type
11//------------------------------------------------------------------------------
12class MyApp: public wxApp
13{
14 public:
15 bool OnInit(void);
16 wxLocale m_locale; // locale we'll be using
17};
18//------------------------------------------------------------------------------
19// Define a new frame type
20//------------------------------------------------------------------------------
21class MainFrame: public wxFrame
22{
23 public:
24 MainFrame(wxFrame *frame, char *title, int x, int y, int w, int h);
25 ~MainFrame(void);
26
27 public:
28 // menu callbacks
29 void InitializeMenu();
30 void OnQuit(wxCommandEvent& event);
31 void OnAbout(wxCommandEvent& event);
32 void OnHelp(wxCommandEvent& event);
33 //--------------------------------------------------------
34 wxHtmlHelpController 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 1
46#define ABOUT 2
47#define HELP 3
48#define SPLITTER_FRAME 100
49#define SPLITTER_WINDOW 101
50#define TREE_CTRL_PGM 102
51#define GRID_CTRL 103
52#define TREE_CTRL_DB 104
53#define GRID_CTRL_DB 105
54//------------------------------------------------------------------------------