summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-06-25 11:47:39 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-06-25 11:47:44 +0300
commit7e72109d87f7c6136ba9c072409aec4d6d9540f4 (patch)
tree7bc3c72a2eebf1f2028da543fb451f8c7804701a /plugins
parentbf6bd8f88fbd17a46b7ac5f94f013c07c39505e4 (diff)
fixes #5053 (Voiceservice.dll: Hold Icon is wrong)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/VoiceService/res/resource.rc2
-rw-r--r--plugins/VoiceService/src/VoiceCall.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/VoiceService/res/resource.rc b/plugins/VoiceService/res/resource.rc
index cd7836cb96..b0bb5c00c5 100644
--- a/plugins/VoiceService/res/resource.rc
+++ b/plugins/VoiceService/res/resource.rc
@@ -7,6 +7,7 @@
//
// Generated from the TEXTINCLUDE 2 resource.
//
+#define WINVER 0x0501
#include "winres.h"
/////////////////////////////////////////////////////////////////////////////
@@ -296,6 +297,7 @@ END
2 TEXTINCLUDE
BEGIN
+ "#define WINVER 0x0501\r\n"
"#include ""winres.h""\r\n"
"\0"
END
diff --git a/plugins/VoiceService/src/VoiceCall.cpp b/plugins/VoiceService/src/VoiceCall.cpp
index 69ac72df98..745401d440 100644
--- a/plugins/VoiceService/src/VoiceCall.cpp
+++ b/plugins/VoiceService/src/VoiceCall.cpp
@@ -214,6 +214,7 @@ void VoiceCall::SetState(int aState)
switch (state) {
case VOICE_STATE_TALKING:
m_calltimer.Start(1000);
+ Button_SetIcon_IcoLib(m_hwnd, IDC_ANSWERBTN, g_plugin.getIconHandle(IDI_ACTION_HOLD));
break;
case VOICE_STATE_RINGING:
incoming = true;