File: dbbrowse.h

package info (click to toggle)
wxwidgets2.6 2.6.3.2.1.5%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 83,228 kB
  • ctags: 130,941
  • sloc: cpp: 820,043; ansic: 113,030; python: 107,485; makefile: 42,996; sh: 10,305; lex: 194; yacc: 128; xml: 95; pascal: 74
file content (53 lines) | stat: -rw-r--r-- 2,375 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//----------------------------------------------------------------------------------------
// Name:        dbbrowse.h
// Purpose:     Through ODBC - Databases Browsen
// Author:      Mark Johnson
// Modified by:
// Created:     19991127
// Copyright:   (c) Mark Johnson
// Licence:     wxWindows license
// RCS-ID:      $Id: dbbrowse.h,v 1.11 2005/01/31 18:09:45 ABX Exp $
//----------------------------------------------------------------------------------------
// Define a new frame type
//----------------------------------------------------------------------------------------
class MainFrame: public wxFrame
{
public:
    MainFrame(wxFrame *frame, wxChar *title,  const wxPoint& pos, const wxSize& size);
    ~MainFrame(void);

public:
    // menu callbacks
    void OnAbout(wxCommandEvent& event);
    void OnHelp(wxCommandEvent& event);
    void OnQuit(wxCommandEvent& event);
    //--------------------------------------------------------------------------------------
    int DiffW, DiffH;                  // Needed the saving of Frame size
    //--------------------------------------------------------------------------------------
    DocSplitterWindow    *p_Splitter;  // for Document Views
    MainDoc              *pDoc;        // Self made Document
    wxHtmlHelpController *p_Help;      // Help System

    //--------------------------------------------------------------------------------------
    DECLARE_EVENT_TABLE()
};

//----------------------------------------------------------------------------------------
// Define a new application type
//----------------------------------------------------------------------------------------
class MainApp: public wxApp
{
public:
    MainFrame *frame;                           // The one and only MainFrame
    bool OnInit(void); // Programmstart
    wxLocale m_locale; // locale we'll be using and language support - MUST be here !
};

//----------------------------------------------------------------------------------------
// ID for the menu quit command
//----------------------------------------------------------------------------------------
#define TREE_CTRL_PGM                102
#define GRID_CTRL                    103
#define TREE_CTRL_DB                 104
#define GRID_CTRL_DB                 105
//----------------------------------------------------------------------------------------