From: Stefan Csomor Date: Sat, 15 May 2004 14:57:00 +0000 (+0000) Subject: support for insets of native controls, sigh... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ed8a08522136bb2b726b79b72dd578228f6ad120 support for insets of native controls, sigh... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/window.h b/include/wx/mac/carbon/window.h index 1b3dda5503..1867a32c8f 100644 --- a/include/wx/mac/carbon/window.h +++ b/include/wx/mac/carbon/window.h @@ -239,10 +239,15 @@ protected: wxList m_subControls; // number of calls to Freeze() minus number of calls to Thaw() unsigned int m_frozenness; - + // the true native ControlRef / = HIViewRef on OSX WXWidget m_macControl ; + // true if is is not a native control but a wxWindow control bool m_macIsUserPane ; wxBrush m_macBackgroundBrush ; + // topleft inset of the mac control from the wx top left corner + wxPoint m_macTopLeftInset ; + // bottom right inset of the mac control from the wx bottom right corner + wxPoint m_macBottomRightInset ; wxScrollBar* m_hScrollBar ; wxScrollBar* m_vScrollBar ;