]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bitmap.h
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / include / wx / bitmap.h
index cbe474153dd06e4957083c882b653ca8547fe5ae..1e39569846e8944e46fccd6b0a85b44fa165bb25 100644 (file)
@@ -140,7 +140,9 @@ public:
     virtual int GetWidth() const = 0;
     virtual int GetDepth() const = 0;
 
+#if wxUSE_IMAGE
     virtual wxImage ConvertToImage() const = 0;
+#endif // wxUSE_IMAGE
 
     virtual wxMask *GetMask() const = 0;
     virtual void SetMask(wxMask *mask) = 0;