removed deprecated ConvertToBitmap() and wxImage(wxBitmap) ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-18 21:38:29 +00:00
parent dc6c9679d6
commit c631d59053
2 changed files with 0 additions and 40 deletions

View File

@@ -1468,37 +1468,6 @@ bool wxImageHandler::CallDoCanRead(wxInputStream& stream)
#endif // wxUSE_STREAMS
//-----------------------------------------------------------------------------
// Deprecated wxBitmap conversion routines
//-----------------------------------------------------------------------------
#if WXWIN_COMPATIBILITY_2_2 && wxUSE_GUI
#ifdef __WXGTK__
wxBitmap wxImage::ConvertToMonoBitmap( unsigned char red, unsigned char green, unsigned char blue ) const
{
wxImage mono = this->ConvertToMono( red, green, blue );
wxBitmap bitmap( mono, 1 );
return bitmap;
}
#endif
wxBitmap wxImage::ConvertToBitmap() const
{
wxBitmap bitmap( *this );
return bitmap;
}
wxImage::wxImage( const wxBitmap &bitmap )
{
*this = bitmap.ConvertToImage();
}
#endif // WXWIN_COMPATIBILITY_2_2 && wxUSE_GUI
// ----------------------------------------------------------------------------
// image histogram stuff
// ----------------------------------------------------------------------------