ZRCola main window icon added

This commit is contained in:
Simon Rozman 2016-02-08 07:26:26 +01:00
parent 712df76722
commit 9523ed8674
6 changed files with 763 additions and 1 deletions

Binary file not shown.

BIN
ZRCola/res/zrc-logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
ZRCola/res/zrcola.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

754
ZRCola/res/zrcola.pdf Normal file

File diff suppressed because one or more lines are too long

BIN
ZRCola/res/zrcola.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -36,7 +36,15 @@ wxZRColaDialog::wxZRColaDialog() :
m_hWndSource(NULL),
wxZRColaDialogBase(NULL)
{
SetIcon(wxIcon(wxICON(send.ico)));
// Load main window icons.
#ifdef __WINDOWS__
wxIconBundle icons;
icons.AddIcon(wxIcon(wxT("00_zrcola.ico"), wxBITMAP_TYPE_ICO_RESOURCE, ::GetSystemMetrics(SM_CXSMICON), ::GetSystemMetrics(SM_CYSMICON)));
icons.AddIcon(wxIcon(wxT("00_zrcola.ico"), wxBITMAP_TYPE_ICO_RESOURCE, ::GetSystemMetrics(SM_CXICON ), ::GetSystemMetrics(SM_CYICON )));
SetIcons(icons);
#else
SetIcon(wxICON(00_zrcola.ico));
#endif
// Register global hotkey(s).
if (!RegisterHotKey(wxZRColaHKID_INVOKE, MOD_ALT | MOD_CONTROL, 'Z'))