]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/image.h
A few tweaks and cleanups
[wxWidgets.git] / include / wx / image.h
index 55e9d968340c4e42a3ef8d74d0c3ac3bfc7c58c9..7522d068541b532cfc0cc8f944aa1658261c4c53 100644 (file)
@@ -115,7 +115,7 @@ public:
     wxImage( const wxImage& image );
     wxImage( const wxImage* image );
 
-#if wxUSE_GUI
+#if WXWIN_COMPATIBILITY_2_2 && wxUSE_GUI
     // convertion to/from wxBitmap (deprecated, use wxBitmap's methods instead):
     wxImage( const wxBitmap &bitmap );
     wxBitmap ConvertToBitmap() const;