ZRCola main window icon added
This commit is contained in:
parent
712df76722
commit
9523ed8674
BIN
ZRCola/ZRCola.rc
BIN
ZRCola/ZRCola.rc
Binary file not shown.
BIN
ZRCola/res/zrc-logo.jpg
Normal file
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
BIN
ZRCola/res/zrcola.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 155 KiB |
754
ZRCola/res/zrcola.pdf
Normal file
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
BIN
ZRCola/res/zrcola.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
@ -36,7 +36,15 @@ wxZRColaDialog::wxZRColaDialog() :
|
|||||||
m_hWndSource(NULL),
|
m_hWndSource(NULL),
|
||||||
wxZRColaDialogBase(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).
|
// Register global hotkey(s).
|
||||||
if (!RegisterHotKey(wxZRColaHKID_INVOKE, MOD_ALT | MOD_CONTROL, 'Z'))
|
if (!RegisterHotKey(wxZRColaHKID_INVOKE, MOD_ALT | MOD_CONTROL, 'Z'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user