2005/5/9
-- ACDK Handbook Packages ACDK WX acdk_wx Handbook Minimal Sample
(c) 2005 byRoger Rene Kommer
Kindly hosted at:
A minimal sample creating GUI application.
using acdk.wx; class MyApp extends acdk.wx.App { MyApp() {} bool onInit() { (new Frame()).show(true); return true; } } StringArray args = new StringArray(0); acdk.wx.App.createGui("MyApp", args);
class Main : extends App { public: bool onInit() { (new Frame("Hello Wx"))->show(true); return true; } }; int main(int argc, char* argv[], char** envptr) { RStringArray args = new StringArray(0); return App::createGui(new MyApp(), args); }