view src/wxwidgets-test.cpp @ 5829:f61f106184dc

Add package build-libffi (bug #61024). * src/build-libffi.mk: Add new file. * index.html, dist-files.mk: Add new package and file to lists. * src/build-libffi.mk: Use new package.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 10 Aug 2021 09:59:40 +0200
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)