X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e28985499b2e69531fdf6b562fdb143ec6441b8c..f196316400fd247a760b2ef77d5064b4e10e5471:/include/wx/msw/ole/oleutils.h diff --git a/include/wx/msw/ole/oleutils.h b/include/wx/msw/ole/oleutils.h index 14818e3d7f..b70a76ade8 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; +class WXDLLIMPEXP_FWD_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);