Friday, May 1, 2015

A very short wxWidgets application

#include <wx/wx.h>

class MyApp : public wxApp
{
public:
 bool OnInit()
 {
  wxFrame *w = new wxFrame(NULL, wxID_ANY, "salut");
  w->Show();
  return true;
 }
};

IMPLEMENT_APP(MyApp)

No comments:

Post a Comment