X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45647dcf1059cc6515a0c6157f7c077cfc2abd31..24fe8dc7f8f5426de2fb748b97c79e52b60db89d:/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;