Added Aleksandras' framelayout code, with more or less working Linux Makefiles

General makefiles to be added later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Harco de Hilster
1999-03-07 23:34:37 +00:00
parent 8c0d01c876
commit bd9396d52d
84 changed files with 32941 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
#ifndef __NEW_TEST_G__
#define __NEW_TEST_G__
#include "objstore.h"
#include "wx/panel.h"
// Define a new application type
class MyApp: public wxApp
{ public:
bool OnInit(void);
};
class MyFrame: public wxFrame
{
public:
wxObjectStorage mStore;
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 OnLoad( wxCommandEvent& event );
void OnSave( wxCommandEvent& event );
void OnExit( wxCommandEvent& event );
DECLARE_EVENT_TABLE()
};
#define NEW_TEST_SAVE 1101
#define NEW_TEST_LOAD 1102
#define NEW_TEST_EXIT 1103
#endif