// constants
//-----------------------------------------------------------------------------
-#define RAD2DEG 57.2957795131
-
//-----------------------------------------------------------------------------
// wxPaintDC
//-----------------------------------------------------------------------------
WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
int x , y ;
x = y = 0 ;
- wxSize size = window->GetSize() ;
window->MacWindowToRootWindow( &x , &y ) ;
m_macPort = UMAGetWindowPort( windowref ) ;
m_ok = true ;