]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/enhmeta.cpp
missing event.Skip() added (it was impossible to use mouse without it...)
[wxWidgets.git] / src / msw / enhmeta.cpp
index 6602ce9a2471df2f6603e5b7075bc91dc4598aa8..189d2980b83e842988ce71ec4f3151359baed866 100644 (file)
@@ -225,6 +225,8 @@ wxEnhMetaFileDC::~wxEnhMetaFileDC()
 // wxEnhMetaFileDataObject
 // ----------------------------------------------------------------------------
 
 // wxEnhMetaFileDataObject
 // ----------------------------------------------------------------------------
 
+#if wxUSE_DRAG_AND_DROP
+
 wxDataFormat
 wxEnhMetaFileDataObject::GetPreferredFormat(Direction WXUNUSED(dir)) const
 {
 wxDataFormat
 wxEnhMetaFileDataObject::GetPreferredFormat(Direction WXUNUSED(dir)) const
 {
@@ -376,5 +378,6 @@ bool wxEnhMetaFileDataObject::SetData(const wxDataFormat& format,
 
     return TRUE;
 }
 
     return TRUE;
 }
+#endif // wxUSE_DRAG_AND_DROP
 
 #endif // wxUSE_ENH_METAFILE
 
 #endif // wxUSE_ENH_METAFILE