How's about this...
We take a little bit of XML
Add a touch of bmx
and end up with...
We take a little bit of XML
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <resource xmlns="http://www.wxwindows.org/wxxrc" version="2.3.0.1"> <object class="wxFrame" name="MyFrame1"> <style>wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL</style> <size>500,300</size> <title>Hello World</title> <centered>1</centered> </object> </resource>
Add a touch of bmx
SuperStrict Framework wx.wxApp Import wx.wxXmlResource New MyApp.Run() Type MyApp Extends wxApp Method OnInit:Int() wxXmlResource.Get().InitAllHandlers() wxXmlResource.Get().Load("helloworld.xrc") Local frame:wxFrame = wxXmlResource.Get().LoadFrame(Null, "MyFrame1") frame.Show(True) Return True End Method End Type
and end up with...