Mercurial > mxe-octave
view src/wxwidgets-test.cpp @ 4345:b144c3e1ba5a
gnuplot: only use wxwidgets in windows gnuplot
* src/gnuplot.mk: add wxwidgets, cairo, pango as depenacies only in windows build
author | John D |
---|---|
date | Fri, 20 Jan 2017 19:07:15 -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)