X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69ce9cea39ee9f6edf588101dd78948d2d9f4ba2..b50d93d1dae385443f0ca4a57736cb5a57a3e7fe:/include/wx/osx/window.h diff --git a/include/wx/osx/window.h b/include/wx/osx/window.h index 49d6e54a49..7afe50d61a 100644 --- a/include/wx/osx/window.h +++ b/include/wx/osx/window.h @@ -17,6 +17,7 @@ class WXDLLIMPEXP_FWD_CORE wxButton; class WXDLLIMPEXP_FWD_CORE wxScrollBar; +class WXDLLIMPEXP_FWD_CORE wxPanel; class WXDLLIMPEXP_FWD_CORE wxNonOwnedWindow; #if wxOSX_USE_CARBON @@ -156,7 +157,7 @@ public: // this should not be overriden in classes above wxWindowMac // because it is called from its destructor via DeleteChildren virtual void RemoveChild( wxWindowBase *child ); - + virtual bool MacDoRedraw( long time ) ; virtual void MacPaintChildrenBorders(); virtual void MacPaintBorders( int left , int top ) ; @@ -235,12 +236,12 @@ public: // the 'true' OS level control for this wxWindow wxOSXWidgetImpl* GetPeer() const { return m_peer ; } - + void * MacGetCGContextRef() { return m_cgContextRef ; } void MacSetCGContextRef(void * cg) { m_cgContextRef = cg ; } // osx specific event handling common for all osx-ports - + virtual bool OSXHandleClicked( double timestampsec ); virtual bool OSXHandleKeyEvent( wxKeyEvent& event ); protected: @@ -275,6 +276,7 @@ protected: wxScrollBar* m_vScrollBar ; bool m_hScrollBarAlwaysShown; bool m_vScrollBarAlwaysShown; + wxPanel* m_growBox ; wxString m_label ; // set to true if we do a sharp clip at the content area of this window