X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e28985499b2e69531fdf6b562fdb143ec6441b8c..42eba91294e1c374908b63bdc5f22a5c4c29f110:/include/wx/msw/ole/oleutils.h?ds=inline diff --git a/include/wx/msw/ole/oleutils.h b/include/wx/msw/ole/oleutils.h index 14818e3d7f..403daf6034 100644 --- a/include/wx/msw/ole/oleutils.h +++ b/include/wx/msw/ole/oleutils.h @@ -228,11 +228,13 @@ private: OLECHAR *m_wzBuf; // actual string }; +#if wxUSE_VARIANT // Convert variants class WXDLLIMPEXP_BASE wxVariant; WXDLLEXPORT bool wxConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant); WXDLLEXPORT bool wxConvertOleToVariant(const VARIANTARG& oleVariant, wxVariant& variant); +#endif // wxUSE_VARIANT // Convert string to Unicode WXDLLEXPORT BSTR wxConvertStringToOle(const wxString& str);