summaryrefslogtreecommitdiffstats
path: root/src/wxwidgets-test.cpp
blob: 714f9177e5901e622b87c29f76a6ecbdd21c72c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* This file is part of mingw-cross-env.       */
/* See doc/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)