git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33066
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
Rect bounds ;
m_peer->GetRect( &bounds ) ;
{
Rect bounds ;
m_peer->GetRect( &bounds ) ;
int x1 = bounds.left ;
int y1 = bounds.top ;
int x1 = bounds.left ;
int y1 = bounds.top ;
+ // get the wx window position from the native one
+ x1 -= MacGetLeftBorderSize() ;
+ y1 -= MacGetTopBorderSize() ;
+
if ( !IsTopLevel() )
{
wxWindow *parent = GetParent();
if ( !IsTopLevel() )
{
wxWindow *parent = GetParent();