]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/oleutils.h
Compile fix (VC++ 6 doesn't like wxString::Format with only 1 arg: gives several...
[wxWidgets.git] / include / wx / msw / ole / oleutils.h
index 14818e3d7f0f214d12a1f1597c3eb9c0256067be..b70a76ade8d0948b158a3f4da034426ed110de5c 100644 (file)
@@ -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);