#ifdefed out Ole... functions for Cygwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c030b70fc6
commit
5de5db0eb1
@ -186,10 +186,12 @@ bool wxApp::Initialize()
|
||||
return FALSE;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __GNUWIN32__
|
||||
// we need to initialize OLE library
|
||||
if ( FAILED(::OleInitialize(NULL)) )
|
||||
wxFatalError(_("Cannot initialize OLE"));
|
||||
#endif
|
||||
|
||||
#if CTL3D
|
||||
if (!Ctl3dRegister(wxhInstance))
|
||||
@ -502,7 +504,9 @@ void wxApp::CleanUp()
|
||||
if ( wxDisableButtonBrush )
|
||||
::DeleteObject( wxDisableButtonBrush ) ;
|
||||
|
||||
#ifndef __GNUWIN32__
|
||||
::OleUninitialize();
|
||||
#endif
|
||||
|
||||
#if CTL3D
|
||||
Ctl3dUnregister(wxhInstance);
|
||||
|
Loading…
Reference in New Issue
Block a user