Moved Get/SetToolBar down into frame.h/cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-07-23 14:25:44 +00:00
parent 30474825bb
commit 73e7daa02e
4 changed files with 25 additions and 11 deletions

View File

@@ -58,6 +58,10 @@ public:
void GetPosition(int *x, int *y) const ;
void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
// Toolbar: if made known to the frame, the frame will manage it automatically.
virtual inline void SetToolBar(wxWindow *toolbar) { m_frameToolBar = toolbar; }
virtual inline wxWindow *GetToolBar(void) const { return m_frameToolBar; }
virtual bool OnClose(void);
void OnSize(wxSizeEvent& event);
@@ -144,6 +148,7 @@ protected:
bool m_iconized;
WXHICON m_defaultIcon;
static bool m_useNativeStatusBar;
wxWindow * m_frameToolBar ;
DECLARE_EVENT_TABLE()
};