view src/wxwidgets-test.cpp @ 4067:bdcddfdc57d0

Install binary of-* packages * Makefile.in: (OCTAVE_FORGE_PKG_BUILD) call pkg-install.py if building binary packages * src/of-io-1-cross-fixes.patch: new patch * src/of-specfun-1-cross-fixes.patch: new patch * tools/pkg-install.py: new file
author John Donoghue <john.donoghue@ieee.org>
date Sat, 26 Dec 2015 22:00:59 -0500
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)