author | viric@mandarina |
Thu, 03 Apr 2008 00:16:12 +0200 | |
changeset 1 | 5b075fa903ae |
parent 0 | 97dd4d2c08b6 |
permissions | -rw-r--r-- |
0 | 1 |
#include <wx/wx.h> |
2 |
||
3 |
class PageList; |
|
4 |
||
5 |
class MainWindow : public wxFrame |
|
6 |
{ |
|
1 | 7 |
enum |
8 |
{ |
|
9 |
ID_MENU_GENERATE |
|
10 |
}; |
|
0 | 11 |
public: |
12 |
MainWindow(); |
|
13 |
||
14 |
private: |
|
15 |
void create_menus(); |
|
16 |
||
17 |
void on_open(wxCommandEvent &event); |
|
18 |
void on_quit(wxCommandEvent &event); |
|
1 | 19 |
void on_generate(wxCommandEvent &event); |
0 | 20 |
|
21 |
wxMenuBar *_menubar; |
|
22 |
wxMenu *_menufile; |
|
23 |
||
24 |
PageList *_pagelist; |
|
25 |
||
26 |
DECLARE_EVENT_TABLE() |
|
27 |
}; |