removed unneeded call to wxGetRootWindow, so that window creation is delayed as much as possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -645,8 +645,6 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
|
||||
wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding());
|
||||
#endif
|
||||
|
||||
wxGetRootWindow();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@@ -645,8 +645,6 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
|
||||
wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding());
|
||||
#endif
|
||||
|
||||
wxGetRootWindow();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user