]> git.saurik.com Git - wxWidgets.git/commitdiff
remove obsolete wxUSE_CTL3D code
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Jan 2005 00:37:11 +0000 (00:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Jan 2005 00:37:11 +0000 (00:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/app.cpp
src/msw/control.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;
     
index a74b5721cad60c4421f9028ef09d1c0f398b1f35..ee938571d023a9d2b4b87f228169718fffe4929d 100644 (file)
@@ -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);