Parent Directory | Revision Log
Implemented trayicon code
1 | torben | 19 | #include <wx/wx.h> |
2 | #include "wxcputhrottle.h" | ||
3 | |||
4 | torben | 20 | #include "wxcputhrottleframe.h" |
5 | torben | 19 | |
6 | IMPLEMENT_APP(wxCpuThrottleapp) | ||
7 | |||
8 | |||
9 | torben | 20 | bool wxCpuThrottleapp::OnInit() |
10 | torben | 19 | { |
11 | wxCpuThrottleFrame *frame = new wxCpuThrottleFrame( wxT( "Hello World" ), wxPoint(50,50), wxSize(450,340) ); | ||
12 | |||
13 | torben | 20 | frame->Show(false); |
14 | torben | 19 | SetTopWindow(frame); |
15 | torben | 20 | |
16 | |||
17 | torben | 19 | return TRUE; |
18 | } |
Name | Value |
---|---|
svn:eol-style | native |
ViewVC Help | |
Powered by ViewVC 1.1.20 |