remove obsolete wxUSE_CTL3D code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-01-17 00:37:11 +00:00
parent ab9cf6366e
commit 06d1d10faf
2 changed files with 0 additions and 19 deletions

View File

@ -314,13 +314,6 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
#endif // wxUSE_OLE #endif // wxUSE_OLE
#if wxUSE_CTL3D
if (!Ctl3dRegister(wxhInstance))
wxLogError(wxT("Cannot register CTL3D"));
Ctl3dAutoSubclass(wxhInstance);
#endif // wxUSE_CTL3D
RegisterWindowClasses(); RegisterWindowClasses();
#if wxUSE_PENWINDOWS #if wxUSE_PENWINDOWS
@ -510,10 +503,6 @@ void wxApp::CleanUp()
// unregister the classes now // unregister the classes now
UnregisterWindowClasses(); UnregisterWindowClasses();
#if wxUSE_CTL3D
Ctl3dUnregister(wxhInstance);
#endif
delete wxWinHandleHash; delete wxWinHandleHash;
wxWinHandleHash = NULL; wxWinHandleHash = NULL;

View File

@ -160,14 +160,6 @@ bool wxControl::MSWCreateControl(const wxChar *classname,
return false; return false;
} }
#if wxUSE_CTL3D
if ( want3D )
{
Ctl3dSubclassCtl(GetHwnd());
m_useCtl3D = true;
}
#endif // wxUSE_CTL3D
// install wxWidgets window proc for this window // install wxWidgets window proc for this window
SubclassWin(m_hWnd); SubclassWin(m_hWnd);