More makefiles, distrib things,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,8 +21,10 @@
|
||||
#endif
|
||||
|
||||
#ifdef __WXMSW__
|
||||
#include <wx/pnghand.h>
|
||||
// #include <wx/xpmhand.h>
|
||||
#include "wx/pnghand.h"
|
||||
#endif
|
||||
#ifdef __WXGTK__
|
||||
#include "wx/image.h"
|
||||
#endif
|
||||
|
||||
#include "pngdemo.h"
|
||||
@@ -40,8 +42,9 @@ bool MyApp::OnInit(void)
|
||||
{
|
||||
#ifdef __WXMSW__
|
||||
wxBitmap::AddHandler(new wxPNGFileHandler);
|
||||
// wxBitmap::AddHandler(new wxXPMFileHandler);
|
||||
// wxBitmap::AddHandler(new wxXPMDataHandler);
|
||||
#endif
|
||||
#ifdef __WXGTK__
|
||||
wxImage::AddHandler(new wxPNGHandler);
|
||||
#endif
|
||||
|
||||
// Create the main frame window
|
||||
|
Reference in New Issue
Block a user