Files correlati : Commento : Spostamento in libraries delle librerie esterne di Campo per una maggiore pulizia e organizzazione git-svn-id: svn://10.65.10.50/branches/R_10_00@24150 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			54 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
//----------------------------------------------------------------------------------------
 | 
						|
// 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 41020 2006-09-05 20:47:48Z VZ $
 | 
						|
//----------------------------------------------------------------------------------------
 | 
						|
// Define a new frame type
 | 
						|
//----------------------------------------------------------------------------------------
 | 
						|
class MainFrame: public wxFrame
 | 
						|
{
 | 
						|
public:
 | 
						|
    MainFrame(wxFrame *frame, wxChar *title,  const wxPoint& pos, const wxSize& size);
 | 
						|
    virtual ~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
 | 
						|
//----------------------------------------------------------------------------------------
 |