Changed __GTK__, __WINDOWS__ and __MOTIF__ to __WXGTK__, __WXMSW__ and __WXMOTIF__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef __WXMSW__
|
||||
#include <wx/pnghand.h>
|
||||
#endif
|
||||
|
||||
@@ -37,7 +37,7 @@ MyApp::MyApp()
|
||||
|
||||
bool MyApp::OnInit(void)
|
||||
{
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef __WXMSW__
|
||||
wxBitmap::AddHandler(new wxPNGFileHandler);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user