]>
git.saurik.com Git - wxWidgets.git/blob - samples/taskbar/tbtest.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxTaskBarIcon sample
4 // Author: Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 class MyTaskBarIcon
: public wxTaskBarIcon
17 void OnRButtonUp(wxEvent
&);
18 void OnLButtonDClick(wxEvent
&);
19 void OnMenuRestore(wxCommandEvent
&);
20 void OnMenuExit(wxCommandEvent
&);
21 void OnMenuSetNewIcon(wxCommandEvent
&);
27 // Define a new application
28 class MyApp
: public wxApp
34 class MyDialog
: public wxDialog
37 MyDialog(wxWindow
* parent
, const wxWindowID id
, const wxString
& title
,
38 const wxPoint
& pos
, const wxSize
& size
, const long windowStyle
= wxDEFAULT_DIALOG_STYLE
);
41 void OnOK(wxCommandEvent
& event
);
42 void OnExit(wxCommandEvent
& event
);
43 void OnCloseWindow(wxCloseEvent
& event
);
47 MyTaskBarIcon
*m_taskBarIcon
;