diff --git a/src/msw/app.cpp b/src/msw/app.cpp index bc230fe152..2cf9c66e86 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -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; diff --git a/src/msw/control.cpp b/src/msw/control.cpp index a74b5721ca..ee938571d0 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -160,14 +160,6 @@ bool wxControl::MSWCreateControl(const wxChar *classname, return false; } -#if wxUSE_CTL3D - if ( want3D ) - { - Ctl3dSubclassCtl(GetHwnd()); - m_useCtl3D = true; - } -#endif // wxUSE_CTL3D - // install wxWidgets window proc for this window SubclassWin(m_hWnd);