From: Václav Slavík Date: Mon, 12 Jul 2004 15:06:47 +0000 (+0000) Subject: removed unneeded call to wxGetRootWindow, so that window creation is delayed as much... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c72066194932cc6760f59be3de66be77798efcd6 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 --- diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index fcf11d84a1..17b4f900b7 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -645,8 +645,6 @@ bool wxApp::Initialize(int& argc, wxChar **argv) wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); #endif - wxGetRootWindow(); - return true; } diff --git a/src/gtk1/app.cpp b/src/gtk1/app.cpp index fcf11d84a1..17b4f900b7 100644 --- a/src/gtk1/app.cpp +++ b/src/gtk1/app.cpp @@ -645,8 +645,6 @@ bool wxApp::Initialize(int& argc, wxChar **argv) wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); #endif - wxGetRootWindow(); - return true; }