// sends a size event to the window using its current size -- this has an
// effect of refreshing the window layout
- //
- // currently it is only implemented under MSW but is declared here to make
- // it possible to call it in portable code without using #ifdef's
- virtual void SendSizeEvent() { }
+ virtual void SendSizeEvent();
// menu bar functions
// ------------------
virtual wxStatusBar *GetStatusBar() const { return m_frameStatusBar; }
// sets the main status bar
- void SetStatusBar(wxStatusBar *statBar)
- { m_frameStatusBar = statBar; PositionStatusBar(); }
+ virtual void SetStatusBar(wxStatusBar *statBar);
// forward these to status bar
virtual void SetStatusText(const wxString &text, int number = 0);
// get/set the main toolbar
virtual wxToolBar *GetToolBar() const { return m_frameToolBar; }
- virtual void SetToolBar(wxToolBar *toolbar) { m_frameToolBar = toolbar; }
+ virtual void SetToolBar(wxToolBar *toolbar);
#endif // wxUSE_TOOLBAR
// implementation only from now on
#if defined(__WXUNIVERSAL__) // && !defined(__WXMICROWIN__)
#include "wx/univ/frame.h"
#else // !__WXUNIVERSAL__
- #if defined(__WXMSW__)
+ #if defined(__WXPALMOS__)
+ #include "wx/palmos/frame.h"
+ #elif defined(__WXMSW__)
#include "wx/msw/frame.h"
#elif defined(__WXGTK__)
#include "wx/gtk/frame.h"