X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/79144b8a47e93d03d136fd39cd730060930dec77..f3314fbcb44e8840cd3353a7f8e22207bf26c03d:/samples/png/pngdemo.cpp?ds=sidebyside diff --git a/samples/png/pngdemo.cpp b/samples/png/pngdemo.cpp index c3ef818509..520bb10fd1 100644 --- a/samples/png/pngdemo.cpp +++ b/samples/png/pngdemo.cpp @@ -40,12 +40,7 @@ MyApp::MyApp() bool MyApp::OnInit(void) { -#ifdef __WXMSW__ - wxBitmap::AddHandler(new wxPNGFileHandler); -#endif -#ifdef __WXGTK__ wxImage::AddHandler(new wxPNGHandler); -#endif // Create the main frame window frame = new MyFrame((wxFrame *) NULL, "wxPNGBitmap Demo", wxPoint(0, 0), wxSize(300, 300));