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