MacPreControlCreate( parent , id , "" , pos , size ,style & 0xE0FFFFFF /* no borders on mac */ , validator , name , &bounds , title ) ;
- m_macControl = ::NewControl( parent->GetMacRootWindow() , &bounds , title , false , 0 , 0 , range,
+ m_macControl = ::NewControl( parent->MacGetRootWindow() , &bounds , title , false , 0 , 0 , range,
kControlProgressBarProc , (long) this ) ;
MacPostControlCreate() ;
{
m_window = win;
- m_drawable = (AGLDrawable) UMAGetWindowPort(win->GetMacRootWindow());
+ m_drawable = (AGLDrawable) UMAGetWindowPort(win->MacGetRootWindow());
m_glContext = aglCreateContext(fmt, other ? other->m_glContext : NULL);
wxCHECK_RET( m_glContext, wxT("Couldn't create OpenGl context") );
const wxPoint& pos, const wxSize& size, long style, const wxString& name,
int *attribList, const wxPalette& palette)
{
- m_macEraseOnRedraw = false ;
wxWindow::Create( parent, id, pos, size, style, name );
AGLPixelFormat fmt = ChoosePixelFormat(attribList);
int width, height;
GetClientSize(& width, & height);
Rect bounds ;
- GetWindowPortBounds( GetMacRootWindow() , &bounds ) ;
+ GetWindowPortBounds( MacGetRootWindow() , &bounds ) ;
GLint parms[4] ;
parms[0] = x ;
parms[1] = bounds.bottom - bounds.top - ( y + height ) ;
MacPreControlCreate( parent , id , "" , pos , size ,style & 0xE0FFFFFF /* no borders on mac */ , validator , name , &bounds , title ) ;
- m_macControl = ::NewControl( parent->GetMacRootWindow() , &bounds , title , false , 0 , 0 , range,
+ m_macControl = ::NewControl( parent->MacGetRootWindow() , &bounds , title , false , 0 , 0 , range,
kControlProgressBarProc , (long) this ) ;
MacPostControlCreate() ;
{
m_window = win;
- m_drawable = (AGLDrawable) UMAGetWindowPort(win->GetMacRootWindow());
+ m_drawable = (AGLDrawable) UMAGetWindowPort(win->MacGetRootWindow());
m_glContext = aglCreateContext(fmt, other ? other->m_glContext : NULL);
wxCHECK_RET( m_glContext, wxT("Couldn't create OpenGl context") );
const wxPoint& pos, const wxSize& size, long style, const wxString& name,
int *attribList, const wxPalette& palette)
{
- m_macEraseOnRedraw = false ;
wxWindow::Create( parent, id, pos, size, style, name );
AGLPixelFormat fmt = ChoosePixelFormat(attribList);
int width, height;
GetClientSize(& width, & height);
Rect bounds ;
- GetWindowPortBounds( GetMacRootWindow() , &bounds ) ;
+ GetWindowPortBounds( MacGetRootWindow() , &bounds ) ;
GLint parms[4] ;
parms[0] = x ;
parms[1] = bounds.bottom - bounds.top - ( y + height ) ;