From 06d1d10faf9d2ced2a27156b52e6f3d710a0dd40 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 17 Jan 2005 00:37:11 +0000 Subject: [PATCH] remove obsolete wxUSE_CTL3D code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/app.cpp | 11 ----------- src/msw/control.cpp | 8 -------- 2 files changed, 19 deletions(-) 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);