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:
Julian Smart
1999-01-16 22:17:13 +00:00
parent a4abc0fc8d
commit 2fd284a4a0
28 changed files with 1643 additions and 497 deletions

View File

@@ -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