21677c36c9
Corrected makefiles to match git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
36 lines
565 B
C++
36 lines
565 B
C++
#ifndef __NEW_TEST_G__
|
|
#define __NEW_TEST_G__
|
|
|
|
#include "wx/panel.h"
|
|
|
|
// Define a new application type
|
|
class MyApp: public wxApp
|
|
{ public:
|
|
bool OnInit(void);
|
|
};
|
|
|
|
class MyFrame: public wxFrame
|
|
{
|
|
public:
|
|
|
|
wxFrameLayout* mpLayout;
|
|
wxTextCtrl* mpClientWnd;
|
|
wxPanel* mpInternalFrm;
|
|
|
|
wxTextCtrl* CreateTextCtrl( const wxString& value );
|
|
|
|
public:
|
|
MyFrame(wxFrame *frame);
|
|
virtual ~MyFrame();
|
|
|
|
bool OnClose(void) { Show(FALSE); return TRUE; }
|
|
|
|
void OnExit( wxCommandEvent& event );
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
#define NEW_TEST_EXIT 1101
|
|
|
|
#endif
|