view src/wxwidgets-test.cpp @ 4845:4b11bbe7c8ff

nsis-installer: provide command line opyions for options page (Bug #54766) * tools/makeinst-script.sh.in: get command options if any and uncheck checkboxes if 0
author John Donoghue
date Wed, 03 Oct 2018 08:31:07 -0400
parents 99516e73b368
children
line wrap: on
line source

/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include <wx/wx.h>

class TestApp: public wxApp
{
private:
    bool OnInit()
    {
        wxFrame *frame = new wxFrame(0, -1, _("Hello, World!"));
        frame->Show(true);
        SetTopWindow(frame);
        return true;
    }
};

IMPLEMENT_APP(TestApp)