git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32024
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/settings.h"
#include "wx/math.h"
#include "wx/mac/private.h"
#include "wx/settings.h"
#include "wx/math.h"
#include "wx/mac/private.h"
//-----------------------------------------------------------------------------
// constants
//-----------------------------------------------------------------------------
// constants
if (!rootwindow)
return;
WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
if (!rootwindow)
return;
WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
- wxSize size = window->GetClientSize() ;
int x , y ;
x = y = 0 ;
window->MacWindowToRootWindow( &x , &y ) ;
int x , y ;
x = y = 0 ;
window->MacWindowToRootWindow( &x , &y ) ;
return;
WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
wxPoint origin = window->GetClientAreaOrigin() ;
return;
WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
wxPoint origin = window->GetClientAreaOrigin() ;
- wxSize size = window->GetClientSize() ;
int x , y ;
x = origin.x ;
y = origin.y ;
int x , y ;
x = origin.x ;
y = origin.y ;