For wxMSW, split XPM handler into separate file (please add handler explicitly in app);
doc changes espec. wxBitmap overview git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
#ifdef __WXMSW__
|
||||
#include <wx/pnghand.h>
|
||||
// #include <wx/xpmhand.h>
|
||||
#endif
|
||||
|
||||
#include "pngdemo.h"
|
||||
@@ -39,6 +40,8 @@ bool MyApp::OnInit(void)
|
||||
{
|
||||
#ifdef __WXMSW__
|
||||
wxBitmap::AddHandler(new wxPNGFileHandler);
|
||||
// wxBitmap::AddHandler(new wxXPMFileHandler);
|
||||
// wxBitmap::AddHandler(new wxXPMDataHandler);
|
||||
#endif
|
||||
|
||||
// Create the main frame window
|
||||
|
Reference in New Issue
Block a user