Position the status bar properly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-07-08 15:09:15 +00:00
parent 67bbb91038
commit a58a661464
2 changed files with 50 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
class WXDLLEXPORT wxMenuBar;
class WXDLLEXPORT wxMenuItem;
class WXDLLEXPORT wxStatusBar;
class WXDLLEXPORT wxFrame: public wxFrameBase
{
@@ -68,6 +69,14 @@ public:
// get the origin of the client area (which may be different from (0, 0)
// if the frame has a toolbar) in client coordinates
virtual wxPoint GetClientAreaOrigin() const;
protected:
// Catch the Cocoa size event
virtual void Cocoa_FrameChanged(void);
void PositionStatusBar();
// override base class virtuals
virtual void DoGetClientSize(int *width, int *height) const;
virtual void DoSetClientSize(int width, int height);
};
#endif // _WX_COCOA_FRAME_H_