]> git.saurik.com Git - wxWidgets.git/blob - utils/framelayout/samples/test/fl_test.h
Added MSW toplevel.cpp and regenerated makefiles and such.
[wxWidgets.git] / utils / framelayout / samples / test / fl_test.h
1 #ifndef __NEW_TEST_G__
2 #define __NEW_TEST_G__
3
4 #include "wx/panel.h"
5
6 // Define a new application type
7 class MyApp: public wxApp
8 { public:
9 bool OnInit(void);
10 };
11
12 class MyFrame: public wxFrame
13 {
14 public:
15
16 wxFrameLayout* mpLayout;
17 wxTextCtrl* mpClientWnd;
18 wxPanel* mpInternalFrm;
19
20 wxTextCtrl* CreateTextCtrl( const wxString& value );
21
22 public:
23 MyFrame(wxFrame *frame);
24 virtual ~MyFrame();
25
26 bool OnClose(void) { Show(FALSE); return TRUE; }
27
28 void OnExit( wxCommandEvent& event );
29
30 DECLARE_EVENT_TABLE()
31 };
32
33 #define NEW_TEST_EXIT 1101
34
35 #endif