wxLogFatalError(_("Cannot initialize display."));
}
- // generic:
- InitBase();
-
// mgl specific:
m_wnd = NULL;
m_isShown = TRUE;
- m_isBeingDeleted = FALSE;
- m_isEnabled = TRUE;
m_frozen = FALSE;
m_paintMGLDC = NULL;
m_eraseBackground = -1;
long mgl_style = 0;
window_t *wnd_parent = parent ? parent->GetHandle() : NULL;
- if ( !(style & wxNO_FULL_REPAINT_ON_RESIZE) )
+ if ( style & wxFULL_REPAINT_ON_RESIZE )
{
mgl_style |= MGL_WM_FULL_REPAINT_ON_RESIZE;
}