Added new image for dnd sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1216,10 +1216,10 @@ void DnDFrame::OnCopyBitmap(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
wxImage image;
|
||||
image.LoadFile( dialog.GetPath(),
|
||||
#ifdef __WXMSW__
|
||||
wxBITMAP_TYPE_BMP
|
||||
#else
|
||||
#if wxUSE_LIBPNG
|
||||
wxBITMAP_TYPE_PNG
|
||||
#else
|
||||
wxBITMAP_TYPE_BMP
|
||||
#endif
|
||||
);
|
||||
if (!image.Ok())
|
||||
|
Reference in New Issue
Block a user