X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bb9a404fbd035652906795c1cd83c743ea9041c..f76c3ff6775e109cf5c49cfa1f0471543b170ae3:/samples/xrc/xrcdemo.cpp?ds=inline diff --git a/samples/xrc/xrcdemo.cpp b/samples/xrc/xrcdemo.cpp index e82ea49d99..9a770d9804 100644 --- a/samples/xrc/xrcdemo.cpp +++ b/samples/xrc/xrcdemo.cpp @@ -64,10 +64,11 @@ bool MyApp::OnInit() return false; // If there is any of a certain format of image in the xrcs, then first - // load a handler for that image type. This example uses XPMs, but if - // you want PNGs, then add a PNG handler, etc. See wxImage::AddHandler() + // load a handler for that image type. This example uses XPMs & a gif, but + // if you want PNGs, then add a PNG handler, etc. See wxImage::AddHandler() // documentation for the types of image handlers available. wxImage::AddHandler(new wxXPMHandler); + wxImage::AddHandler(new wxGIFHandler); // Initialize all the XRC handlers. Always required (unless you feel like // going through and initializing a handler of each control type you will