don't use deprecated wxImage methods inside wxWin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1217,7 +1217,7 @@ void DnDFrame::OnCopyBitmap(wxCommandEvent& WXUNUSED(event))
|
||||
wxLogStatus( _T("Decoding image file...") );
|
||||
wxYield();
|
||||
|
||||
wxBitmap bitmap( image.ConvertToBitmap() );
|
||||
wxBitmap bitmap( image );
|
||||
|
||||
if ( !wxTheClipboard->Open() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user