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