]> git.saurik.com Git - wxWidgets.git/commitdiff
unused param warning with wxUSE_OLE=0
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Mar 2005 18:54:53 +0000 (18:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Mar 2005 18:54:53 +0000 (18:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/ole/dataobj.cpp

index b00c440a15573a2f42852b31de2323a509a5d4bb..12858fb2b6d6f0c1f293008d71dd1aa448cef878 100644 (file)
@@ -1224,6 +1224,7 @@ static const wxChar *GetTymedName(DWORD tymed)
 #endif // Debug
 
 #else // not using OLE at all
+
 // ----------------------------------------------------------------------------
 // wxDataObject
 // ----------------------------------------------------------------------------
@@ -1243,13 +1244,14 @@ void wxDataObject::SetAutoDelete()
 }
 
 #ifdef __WXDEBUG__
-const wxChar *wxDataObject::GetFormatName(wxDataFormat format)
+const wxChar *wxDataObject::GetFormatName(wxDataFormat WXUNUSED(format))
 {
     return NULL;
 }
-#endif
+#endif // __WXDEBUG__
 
-#endif
+#endif // wxUSE_DATAOBJ
+
+#endif // wxUSE_OLE/!wxUSE_OLE
 
-#endif