~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/GUIDialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
///////////////////////////////////////////////////////////////////////////
 
2
// C++ code generated with wxFormBuilder (version Feb 17 2007)
 
3
// http://www.wxformbuilder.org/
 
4
//
 
5
// PLEASE DO "NOT" EDIT THIS FILE!
 
6
///////////////////////////////////////////////////////////////////////////
 
7
 
 
8
#ifndef __GUIDialog__
 
9
#define __GUIDialog__
 
10
 
 
11
// Define WX_GCH in order to support precompiled headers with GCC compiler.
 
12
// You have to create the header "wx_pch.h" and include all files needed
 
13
// for compile your gui inside it.
 
14
// Then, compile it and place the file "wx_pch.h.gch" into the same
 
15
// directory that "wx_pch.h".
 
16
#ifdef WX_GCH
 
17
#include <wx_pch.h>
 
18
#else
 
19
#include <wx/wx.h>
 
20
#endif
 
21
 
 
22
#include <wx/button.h>
 
23
#include <wx/statline.h>
 
24
 
 
25
///////////////////////////////////////////////////////////////////////////
 
26
 
 
27
///////////////////////////////////////////////////////////////////////////////
 
28
/// Class GUIDialog
 
29
///////////////////////////////////////////////////////////////////////////////
 
30
class GUIDialog : public wxDialog 
 
31
{
 
32
    DECLARE_EVENT_TABLE()
 
33
    private:
 
34
        
 
35
        // Private event handlers
 
36
        void _wxFB_OnClose( wxCloseEvent& event ){ OnClose( event ); }
 
37
        void _wxFB_OnAbout( wxCommandEvent& event ){ OnAbout( event ); }
 
38
        void _wxFB_OnQuit( wxCommandEvent& event ){ OnQuit( event ); }
 
39
        
 
40
    
 
41
    protected:
 
42
        enum
 
43
        {
 
44
            idBtnAbout = 1000,
 
45
            idBtnQuit,
 
46
        };
 
47
        
 
48
        wxStaticText* m_staticText1;
 
49
        wxButton* BtnAbout;
 
50
        wxStaticLine* m_staticline1;
 
51
        wxButton* BtnQuit;
 
52
        
 
53
        // Virtual event handlers, overide them in your derived class
 
54
        virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }
 
55
        virtual void OnAbout( wxCommandEvent& event ){ event.Skip(); }
 
56
        virtual void OnQuit( wxCommandEvent& event ){ event.Skip(); }
 
57
        
 
58
    
 
59
    public:
 
60
        GUIDialog( wxWindow* parent, int id = wxID_ANY, wxString title = wxT("wxWidgets Application Template"), wxPoint pos = wxDefaultPosition, wxSize size = wxDefaultSize, int style = wxDEFAULT_DIALOG_STYLE );
 
61
    
 
62
};
 
63
 
 
64
#endif //__GUIDialog__