X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43543d985b04d065178df50dbbc998786ff97282..cf471cab8277f4cc2c19bce417356badf9e2ca49:/src/generic/imaglist.cpp?ds=sidebyside diff --git a/src/generic/imaglist.cpp b/src/generic/imaglist.cpp index 87eb78dcd3..403cd4f13c 100644 --- a/src/generic/imaglist.cpp +++ b/src/generic/imaglist.cpp @@ -80,7 +80,7 @@ bool wxImageList::Replace( int index, const wxBitmap &bitmap ) //so construct it from a bitmap object until I can figure this nonsense out. (DW) newBitmap = new wxBitmap(bitmap) ; #else - newBitmap = new wxIcon( (const wxIcon&) bitmap ); + newBitmap = new wxBitmap( (const wxIcon&) bitmap ); #endif else newBitmap = new wxBitmap(bitmap) ;