Replaced images

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@34166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-05-19 10:18:11 +00:00
parent 34c7075ab7
commit c85e1ba4da
4 changed files with 6 additions and 5 deletions

View File

@@ -89,10 +89,11 @@ IMPLEMENT_APP(MyApp)
bool MyApp::OnInit()
{
m_image = wxImage(_T("kclub.bmp"), wxBITMAP_TYPE_BMP);
#if wxUSE_LIBPNG
wxImage::AddHandler( new wxPNGHandler );
#endif
// any unused colour will do
m_image.SetMaskColour( 0, 255, 255 );
m_image = wxImage(_T("duck.png"), wxBITMAP_TYPE_PNG);
if ( !m_image.Ok() )
{