-
Notifications
You must be signed in to change notification settings - Fork 0
/
MyApp.h
72 lines (52 loc) · 1.34 KB
/
MyApp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// hworld.cpp
// Version using dynamic event routing
// http://docs.wxwidgets.org/trunk/group__group__funcmacro__events.html
#ifndef MyApp_H_
#define MyApp_H_
#include "base/baseApp.h"
#include "general/procedPanel.h"
#include "general/pruebaPanel.h"
#include "general/calendario/CalendarioPage.h"
#include "general/calendario/CalendarioCtr.h"
#include "general/mensajes/MensajeriaPage.h"
#include "general/mensajes/MensajeriaCtr.h"
#include "general/contactos/ContactosPage.h"
#include "general/contactos/ContactosCtr.h"
#include "general/myCtr.h"
// http://docs.wxwidgets.org/trunk/classwx_list_ctrl.html
// http://docs.wxwidgets.org/trunk/classwx_list_box.html
class MyApp : public baseApp
{
protected:
void createframeContainer();
void loadControllers();
public:
void OnTimer(wxTimerEvent & event);
// void wakeUp(int action);
};
DECLARE_APP(MyApp)
class MyFrame : public frameContainer
{
public:
MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
void OnQuit(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
void OnClick(wxCommandEvent& event);
void buildFrame();
void onKeyDown(wxKeyEvent& event){
cout << "yiiijaaa"<< endl;
}
protected:
procedPanel *panelito;
MyPopup *popbox;
void Init();
};
enum
{
ID_Quit=1,
ID_About,
ID_Size,
ID_Filtro,
ID_Buscar
};
#endif /* MyApp_H_ */