git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31411 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-#if wxUSE_CTL3D
-    if (!Ctl3dRegister(wxhInstance))
-        wxLogError(wxT("Cannot register CTL3D"));
-
-    Ctl3dAutoSubclass(wxhInstance);
-#endif // wxUSE_CTL3D
-
     RegisterWindowClasses();
 
 #if wxUSE_PENWINDOWS
     RegisterWindowClasses();
 
 #if wxUSE_PENWINDOWS
     // unregister the classes now
     UnregisterWindowClasses();
 
     // unregister the classes now
     UnregisterWindowClasses();
 
-#if wxUSE_CTL3D
-    Ctl3dUnregister(wxhInstance);
-#endif
-
     delete wxWinHandleHash;
     wxWinHandleHash = NULL;
     
     delete wxWinHandleHash;
     wxWinHandleHash = NULL;
     
 
-#if wxUSE_CTL3D
-    if ( want3D )
-    {
-        Ctl3dSubclassCtl(GetHwnd());
-        m_useCtl3D = true;
-    }
-#endif // wxUSE_CTL3D
-
     // install wxWidgets window proc for this window
     SubclassWin(m_hWnd);
 
     // install wxWidgets window proc for this window
     SubclassWin(m_hWnd);