X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45647dcf1059cc6515a0c6157f7c077cfc2abd31..ab0d42f76d5594bd28fdcad35bedeb380902f3ea:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index 55e9d96834..7522d06854 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -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;