soc.2009.vulture: a366cff8: Remember to initialise the common contro...
gdick at soc.pidgin.im
gdick at soc.pidgin.im
Mon Jun 1 19:15:45 EDT 2009
-----------------------------------------------------------------
Revision: a366cff8156fa1859f1423acbae79e4427d25d93
Ancestor: 399841fe87f738f85f95b6a25df43ee34c8e57c8
Author: gdick at soc.pidgin.im
Date: 2009-06-01T10:19:11
Branch: im.pidgin.soc.2009.vulture
URL: http://d.pidgin.im/viewmtn/revision/info/a366cff8156fa1859f1423acbae79e4427d25d93
Modified files:
vulture/Makefile.mingw vulture/vulture.c
ChangeLog:
Remember to initialise the common controls.
-------------- next part --------------
============================================================
--- vulture/Makefile.mingw 1ca5c8e23eecb683748d4de62f3ef90e620033fa
+++ vulture/Makefile.mingw 21520a65eaf948916d8a1dfa888ff7d7ed0a6d56
@@ -68,7 +68,8 @@ VULTURE_LIBS = \
VULTURE_LIBS = \
-lglib-2.0 \
-lpurple \
- -lwinmm
+ -lwinmm \
+ -lcomctl32
include $(PIDGIN_COMMON_RULES)
============================================================
--- vulture/vulture.c 1fac65820b68cc8ba568c705c82fd5c4c2504038
+++ vulture/vulture.c f15f179367d38665bfec041e6ffb79b625d4be89
@@ -22,6 +22,7 @@
#include <windows.h>
+#include <commctrl.h>
#include "vulture.h"
#include "resource.h"
@@ -51,10 +52,15 @@ int WINAPI WinMain(HINSTANCE hinst, HINS
{
MSG msg;
HANDLE hthreadPurple;
+ INITCOMMONCONTROLSEX iccx;
g_hInstance = hinst;
g_hProcHeap = GetProcessHeap();
+ iccx.dwSize = sizeof(iccx);
+ iccx.dwICC = ICC_WIN95_CLASSES | ICC_USEREX_CLASSES;
+ InitCommonControlsEx(&iccx);
+
VultureParseCommandLine();
if(VultureCreateMainWindow(iCmdShow) != 0)
More information about the Commits
mailing list