summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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;