view src/wxwidgets-test.cpp @ 2835:72427f641846

add package ocaml-flexdll
author William <r.3@libertysurf.fr>
date Thu, 04 Oct 2012 14:48:09 +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)