view src/wxwidgets-test.cpp @ 2847:d37122aa7a10

package vmime: use github tarball This seems like a much better idea than applying our own copy of the patches to the 0.9.1 tarball.
author Mark Brand <mabrand@mabrand.nl>
date Mon, 12 Nov 2012 21:56:00 +0100
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)