]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/app.cpp
Restored the ability to set the background colour for a toolbar on Windows
[wxWidgets.git] / src / msw / app.cpp
index bc230fe15226ece02563a06ff6454b203423e416..2cf9c66e86c8e539d36afb527091a831a5a124c1 100644 (file)
@@ -314,13 +314,6 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
 
 #endif // wxUSE_OLE
 
-#if wxUSE_CTL3D
-    if (!Ctl3dRegister(wxhInstance))
-        wxLogError(wxT("Cannot register CTL3D"));
-
-    Ctl3dAutoSubclass(wxhInstance);
-#endif // wxUSE_CTL3D
-
     RegisterWindowClasses();
 
 #if wxUSE_PENWINDOWS
@@ -510,10 +503,6 @@ void wxApp::CleanUp()
     // unregister the classes now
     UnregisterWindowClasses();
 
-#if wxUSE_CTL3D
-    Ctl3dUnregister(wxhInstance);
-#endif
-
     delete wxWinHandleHash;
     wxWinHandleHash = NULL;