]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/ogl/studio/mainfrm.h
regenerated with fixed version of bakefile
[wxWidgets.git] / contrib / samples / ogl / studio / mainfrm.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: mainfrm.h
3 // Purpose: Studio main window class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 27/7/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence:
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _STUDIO_MAINFRM_H_
13 #define _STUDIO_MAINFRM_H_
14
15 #include <wx/docmdi.h>
16
17 class wxSashLayoutWindow;
18 class wxSashEvent;
19
20 class csFrame: public wxDocMDIParentFrame
21 {
22 public:
23 csFrame(wxDocManager *manager, wxFrame *parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style);
24
25 void OnCloseWindow(wxCloseEvent& event);
26 void OnSize(wxSizeEvent& event);
27 void OnAbout(wxCommandEvent& event);
28 void OnNewWindow(wxCommandEvent& event);
29 void OnQuit(wxCommandEvent& event);
30 void OnSashDragPaletteWindow(wxSashEvent& event);
31 void OnSashDragProjectWindow(wxSashEvent& event);
32 void OnIdle(wxIdleEvent& event);
33 void OnHelp(wxCommandEvent& event);
34 void OnSettings(wxCommandEvent& event);
35
36 // General handler for disabling items
37 void OnUpdateDisable(wxUpdateUIEvent& event);
38 void OnSaveUpdate(wxUpdateUIEvent& event);
39
40 DECLARE_EVENT_TABLE()
41 };
42
43 class csMDIChildFrame: public wxDocMDIChildFrame
44 {
45 public:
46 csMDIChildFrame(wxDocument* doc, wxView* view, wxMDIParentFrame *parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style);
47
48 void OnActivate(wxActivateEvent& event);
49
50 DECLARE_EVENT_TABLE()
51 };
52
53 #endif
54 // _STUDIO_MAINFRM_H_
55