removed calls to wxWindowBase::InitBase(), it is called from the ctor anyhow (and so was called twice)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -546,14 +546,9 @@ void wxWindowMGL::Init()
|
||||
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;
|
||||
|
Reference in New Issue
Block a user