00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _MDICHILD_H
00025 #define _MDICHILD_H
00026
00027 #include "wx/wxprec.h"
00028 #ifndef WX_PRECOMP
00029 #include "wx/wx.h"
00030 #endif
00031
00032 #include "Canvas3D.h"
00033 #include "CanvasOrtho.h"
00034
00035 enum {
00036 MDI_CHANGE_TITLE=200,
00037 MDI_CHANGE_POSITION,
00038 MDI_CHANGE_SIZE,
00039 MDI_CHILD_QUIT
00040 };
00041
00042 class wxMDIParent;
00043
00044
00045
00052 class wxMDIChild :public wxPanel
00053 {
00054 public:
00055 wxMDIChild(wxWindow* parent,const wxPoint &pos, const wxSize& size,const long style);
00056 virtual ~wxMDIChild();
00057
00058 void OnActivate(wxActivateEvent & event);
00059 void OnQuit(wxCommandEvent& event);
00060 void OnSize(wxSizeEvent& event);
00061 void OnClose(wxCloseEvent& event);
00062
00063 DECLARE_EVENT_TABLE()
00064
00065 protected:
00067 Canvas3D *gl_window;
00068 };
00069
00070 #endif // _MDICHILD_H