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:
@@ -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() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user