]> Creatis software - creaContours.git/blob - appli/wxContourGUIExample/wxContourGUIExample.h
*** empty log message ***
[creaContours.git] / appli / wxContourGUIExample / wxContourGUIExample.h
1
2 #ifndef __EXAMPLE_CONTOUR_GUI__
3 #define __EXAMPLE_CONTOUR_GUI__
4
5
6 // ----------------------------------------------------------------------------
7 // wx headers inclusion.
8 // For compilers that support precompilation, includes <wx/wx.h>.
9 // ----------------------------------------------------------------------------
10 #include <wx/wxprec.h>
11 #ifdef __BORLANDC__
12 #pragma hdrstop
13 #endif
14 #ifndef WX_PRECOMP
15 #include <wx/wx.h>
16 #endif
17
18 #include <string.h>
19 #include "wxContourMainFrame.h"
20
21
22 class wxContourGUIExample : public wxFrame
23 {
24 public:
25         wxContourGUIExample/*(wxWindow *parent,wxString title);*/(const wxString& title, const wxPoint& pos, const wxSize& size);
26
27     void OnBtnRun(wxCommandEvent& event);
28         
29 private:
30         
31         wxStaticText            * stResult;
32
33         wxButton                        * btn;
34                 
35         //DECLARE_CLASS(wxContourGUIExample)    
36
37 };
38
39
40 class wxTheApplication : public wxApp
41 {
42 public:
43     bool OnInit();
44 private:
45         static wxContourMainFrame * frame;
46         
47 };
48
49 #endif