X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05adb9d2fdc40d8620730be490bf406b8e367cf8..4658c44ec233e09db6f108f1ce01f06708907dd7:/include/wx/mac/window.h diff --git a/include/wx/mac/window.h b/include/wx/mac/window.h index 98bccb0324..bd6c9cec42 100644 --- a/include/wx/mac/window.h +++ b/include/wx/mac/window.h @@ -177,6 +177,7 @@ public: // event handlers // -------------- + void OnSetFocus(wxFocusEvent& event) ; void OnEraseBackground(wxEraseEvent& event); void OnIdle(wxIdleEvent& event); void MacOnScroll(wxScrollEvent&event ) ; @@ -246,10 +247,16 @@ public : WindowRef GetMacRootWindow() const ; virtual ControlHandle MacGetContainerForEmbedding() ; - virtual long MacGetBorderSize() const ; + + virtual long MacGetLeftBorderSize() const ; + virtual long MacGetRightBorderSize() const ; + virtual long MacGetTopBorderSize() const ; + virtual long MacGetBottomBorderSize() const ; + static long MacRemoveBordersFromStyle( long style ) ; virtual void MacSuperChangedPosition() ; virtual void MacSuperShown( bool show ) ; + bool MacIsReallyShown() const ; /* bool MacSetupFocusPort() ; bool MacSetupDrawingPort() ; @@ -263,7 +270,6 @@ public : virtual void MacGetPortClientParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindow** rootwin) ; virtual void MacDoGetPortClientParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindow** rootwin) ; MacWindowData* MacGetWindowData() { return m_macWindowData ; } - static WindowRef MacGetWindowInUpdate() { return s_macWindowInUpdate ; } bool MacIsWindowScrollbar( const wxScrollBar* sb ) { return (m_hScrollBar == sb || m_vScrollBar == sb) ; } static wxWindow* s_lastMouseWindow ; private: @@ -271,7 +277,6 @@ private: protected: MacWindowData* m_macWindowData ; - static WindowRef s_macWindowInUpdate ; RgnHandle m_macUpdateRgn ; int m_x ;