X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..c929ad91417a4ee797652d79300c0c23219a46fd:/include/wx/osx/frame.h diff --git a/include/wx/osx/frame.h b/include/wx/osx/frame.h index 666fb3bf52..42c9393748 100644 --- a/include/wx/osx/frame.h +++ b/include/wx/osx/frame.h @@ -59,7 +59,7 @@ public: virtual wxPoint GetClientAreaOrigin() const; // override some more virtuals - virtual bool Enable(bool enable = TRUE) ; + virtual bool Enable(bool enable = true) ; // event handlers void OnActivate(wxActivateEvent& event); @@ -88,6 +88,9 @@ public: void PositionBars(); + // osx specific event handling common for all osx-ports + virtual void HandleResized( double timestampsec ); + protected: // common part of all ctors void Init(); @@ -108,16 +111,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) };