Add missing wxUSE_OLE checks to safearray.cpp.
Fix compilation with wxUSE_OLE==0. Closes #14860. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,6 +23,8 @@
|
|||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if wxUSE_OLE && wxUSE_VARIANT
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/variant.h"
|
#include "wx/variant.h"
|
||||||
#endif // WX_PRECOMP
|
#endif // WX_PRECOMP
|
||||||
@@ -131,4 +133,4 @@ bool wxSafeArrayBase::Unlock()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // wxUSE_OLE && wxUSE_VARIANT
|
||||||
|
Reference in New Issue
Block a user