X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64d452a82d87ddef130d3adc64ec2e11813c9bee..6c7873e1a58afbdef698e092db0852ed490ea9e1:/contrib/samples/xml/xmldemo.cpp diff --git a/contrib/samples/xml/xmldemo.cpp b/contrib/samples/xml/xmldemo.cpp index 572c24e4a2..9564d25abd 100644 --- a/contrib/samples/xml/xmldemo.cpp +++ b/contrib/samples/xml/xmldemo.cpp @@ -30,9 +30,9 @@ // need because it includes almost all "standard" wxWindows headers) #ifndef WX_PRECOMP #include "wx/wx.h" - #include "wx/image.h" #endif +#include "wx/image.h" #include "wx/xml/xmlres.h" // ---------------------------------------------------------------------------- @@ -112,7 +112,7 @@ bool MyApp::OnInit() { wxImage::AddHandler(new wxGIFHandler); wxTheXmlResource->InitAllHandlers(); - wxTheXmlResource->Load("rc/resource.xml"); + wxTheXmlResource->Load("rc/resource.xrc"); MyFrame *frame = new MyFrame("XML resources demo", wxPoint(50, 50), wxSize(450, 340));