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:
parent
ab9cf6366e
commit
06d1d10faf
@ -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;
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user