Added wxXML demo VC++ project files; corrected filename in xmldemo.cpp (but still doesn't

load menu bar)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-10-10 17:10:24 +00:00
parent f485492a1e
commit d9300df9e6
3 changed files with 206 additions and 2 deletions

View File

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