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:
Julian Smart
2003-09-11 19:25:50 +00:00
parent 3682ea7d2c
commit 1c9c480e80
8 changed files with 9 additions and 9 deletions

View File

@@ -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())