summaryrefslogtreecommitdiffstats
path: root/src/wxwidgets-test.cpp
blob: 93e844ad2dc4024ea15f7e77d71c93b823fe2d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * This file is part of MXE. See LICENSE.md for licensing 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)