aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/9 wxwidgets/mainwin.h
blob: b5ca18de3f6190719b1baa32de8190580f7634dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <wx/wx.h>

class MyApp: public wxApp
{
public:
  virtual bool OnInit();
};
class MyFrame: public wxFrame
{
public:
  MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
private:
  void OnHello(wxCommandEvent& event);
  void OnExit(wxCommandEvent& event);
  void OnAbout(wxCommandEvent& event);
  wxDECLARE_EVENT_TABLE();
};

enum {
    ID_Hello = 1
};