X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e6efd1fd2f6cedda23140aff17f56b26ef7c2d2..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/osx/frame.h diff --git a/include/wx/osx/frame.h b/include/wx/osx/frame.h index 87cbdcca36..5902dc0c9c 100644 --- a/include/wx/osx/frame.h +++ b/include/wx/osx/frame.h @@ -1,10 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: frame.h +// Name: wx/osx/frame.h // Purpose: wxFrame class // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -12,15 +11,10 @@ #ifndef _WX_FRAME_H_ #define _WX_FRAME_H_ -#include "wx/window.h" #include "wx/toolbar.h" #include "wx/accel.h" #include "wx/icon.h" -WXDLLIMPEXP_DATA_CORE(extern const char) wxToolBarNameStr[]; - -class WXDLLIMPEXP_FWD_CORE wxMenuBar; -class WXDLLIMPEXP_FWD_CORE wxStatusBar; class WXDLLIMPEXP_FWD_CORE wxMacToolTip ; class WXDLLIMPEXP_CORE wxFrame: public wxFrameBase @@ -88,6 +82,9 @@ public: void PositionBars(); + // internal response to size events + virtual void MacOnInternalSize() { PositionBars(); } + protected: // common part of all ctors void Init(); @@ -108,16 +105,11 @@ protected: virtual void AttachMenuBar(wxMenuBar *menubar); #endif - // osx specific event handling common for all osx-ports - virtual void HandleResized( double timestampsec ); - -protected: // the last focused child: we restore focus to it on activation wxWindow *m_winLastFocused; virtual bool MacIsChildOfClientArea( const wxWindow* child ) const ; -private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxFrame) };