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
		
			
				
	
	
		
			64 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| /////////////////////////////////////////////////////////////////////////////
 | |
| // Name:        styles.h
 | |
| // Author:      Robert Roebling
 | |
| // RCS-ID:      $Id: styles.h 37166 2006-01-26 19:06:06Z ABX $
 | |
| // Created:     04/07/02
 | |
| /////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
| #ifndef __styles_H__
 | |
| #define __styles_H__
 | |
| 
 | |
| // Include wxWidgets' headers
 | |
| 
 | |
| #ifndef WX_PRECOMP
 | |
|     #include "wx/wx.h"
 | |
| #endif
 | |
| 
 | |
| //----------------------------------------------------------------------------
 | |
| //   constants
 | |
| //----------------------------------------------------------------------------
 | |
| 
 | |
| #define ID_ABOUT    100
 | |
| #define ID_QUIT     204
 | |
| 
 | |
| //----------------------------------------------------------------------------
 | |
| // MyFrame
 | |
| //----------------------------------------------------------------------------
 | |
| 
 | |
| class MyFrame: public wxFrame
 | |
| {
 | |
| public:
 | |
|     // constructors and destructors
 | |
|     MyFrame( wxWindow *parent, wxWindowID id, const wxString &title,
 | |
|         const wxPoint& pos = wxDefaultPosition,
 | |
|         const wxSize& size = wxDefaultSize,
 | |
|         long style = wxDEFAULT_FRAME_STYLE );
 | |
| 
 | |
| private:
 | |
|     void CreateMyMenuBar();
 | |
| 
 | |
| private:
 | |
|     void OnAbout( wxCommandEvent &event );
 | |
|     void OnQuit( wxCommandEvent &event );
 | |
| 
 | |
|     void OnCloseWindow( wxCloseEvent &event );
 | |
| 
 | |
| private:
 | |
|     DECLARE_EVENT_TABLE()
 | |
| };
 | |
| 
 | |
| //----------------------------------------------------------------------------
 | |
| // MyApp
 | |
| //----------------------------------------------------------------------------
 | |
| 
 | |
| class MyApp: public wxApp
 | |
| {
 | |
| public:
 | |
|     MyApp(){};
 | |
| 
 | |
|     virtual bool OnInit();
 | |
|     virtual int OnExit();
 | |
| };
 | |
| 
 | |
| #endif
 |