EventMonitor icon added
This commit is contained in:
parent
00244e3846
commit
34f16478e4
Binary file not shown.
@ -119,6 +119,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="locale\EventMonitor.pot" />
|
<None Include="locale\EventMonitor.pot" />
|
||||||
|
<None Include="res\EventMonitor.ico" />
|
||||||
<None Include="wxEventMonitor_UI.fbp" />
|
<None Include="wxEventMonitor_UI.fbp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
@ -70,5 +70,8 @@
|
|||||||
<None Include="locale\EventMonitor.pot">
|
<None Include="locale\EventMonitor.pot">
|
||||||
<Filter>Resource Files\Localization</Filter>
|
<Filter>Resource Files\Localization</Filter>
|
||||||
</None>
|
</None>
|
||||||
|
<None Include="res\EventMonitor.ico">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@ -32,17 +32,17 @@ wxEND_EVENT_TABLE()
|
|||||||
|
|
||||||
wxEventMonitorFrame::wxEventMonitorFrame() : wxEventMonitorFrameBase(NULL)
|
wxEventMonitorFrame::wxEventMonitorFrame() : wxEventMonitorFrameBase(NULL)
|
||||||
{
|
{
|
||||||
// // Load main window icons.
|
// Load main window icons.
|
||||||
//#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
// wxIcon icon_small(wxT("00_EventMonitor.ico"), wxBITMAP_TYPE_ICO_RESOURCE, ::GetSystemMetrics(SM_CXSMICON), ::GetSystemMetrics(SM_CYSMICON));
|
wxIcon icon_small(wxT("00_EventMonitor.ico"), wxBITMAP_TYPE_ICO_RESOURCE, ::GetSystemMetrics(SM_CXSMICON), ::GetSystemMetrics(SM_CYSMICON));
|
||||||
// wxIconBundle icons;
|
wxIconBundle icons;
|
||||||
// icons.AddIcon(icon_small);
|
icons.AddIcon(icon_small);
|
||||||
// icons.AddIcon(wxIcon(wxT("00_EventMonitor.ico"), wxBITMAP_TYPE_ICO_RESOURCE, ::GetSystemMetrics(SM_CXICON), ::GetSystemMetrics(SM_CYICON)));
|
icons.AddIcon(wxIcon(wxT("00_EventMonitor.ico"), wxBITMAP_TYPE_ICO_RESOURCE, ::GetSystemMetrics(SM_CXICON), ::GetSystemMetrics(SM_CYICON)));
|
||||||
// SetIcons(icons);
|
SetIcons(icons);
|
||||||
//#else
|
#else
|
||||||
// wxIcon icon_small(wxICON(00_EventMonitor.ico));
|
wxIcon icon_small(wxICON(00_EventMonitor.ico));
|
||||||
// SetIcon(icon_small);
|
SetIcon(icon_small);
|
||||||
//#endif
|
#endif
|
||||||
|
|
||||||
// Restore persistent state of wxAuiManager manually, since m_mgr is not on the heap.
|
// Restore persistent state of wxAuiManager manually, since m_mgr is not on the heap.
|
||||||
wxPersistentAuiManager(&m_mgr).Restore();
|
wxPersistentAuiManager(&m_mgr).Restore();
|
||||||
|
BIN
EventMonitor/res/EventMonitor.ico
Normal file
BIN
EventMonitor/res/EventMonitor.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 121 KiB |
1233
EventMonitor/res/EventMonitor.pdf
Normal file
1233
EventMonitor/res/EventMonitor.pdf
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user