#include "wx/settings.h"
#include "wx/math.h"
#include "wx/mac/private.h"
+#include "wx/log.h"
//-----------------------------------------------------------------------------
// constants
if (!rootwindow)
return;
WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
- wxSize size = window->GetClientSize() ;
int x , y ;
x = y = 0 ;
window->MacWindowToRootWindow( &x , &y ) ;
return;
WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
wxPoint origin = window->GetClientAreaOrigin() ;
- wxSize size = window->GetClientSize() ;
int x , y ;
x = origin.x ;
y = origin.y ;