Changeset 38647
- Timestamp:
- 11/02/10 22:20:24 (3 years ago)
- Location:
- lang/objective-cplusplus/i3/trunk/tmp/dwmedit
- Files:
-
- 4 modified
-
BlurEditController.cc (modified) (2 diffs)
-
DWMEdit.cc (modified) (1 diff)
-
Makefile (modified) (1 diff)
-
WindowsVersionHelp.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/objective-cplusplus/i3/trunk/tmp/dwmedit/BlurEditController.cc
r38644 r38647 137 137 (PROC)self.HGetProcAddress, 138 138 (PROC)self.OGetProcAddress, 139 GetModuleHandle( TEXT("comctl32.dll")));139 GetModuleHandle(_T("comctl32.dll"))); 140 140 return (FARPROC)self.HDrawThemeBackground; 141 141 } … … 245 245 //ReplaceIATEntryInAllMods("uxtheme.dll", (PROC)ODrawThemeBackground, (PROC)HDrawThemeBackground); 246 246 //ReplaceIATEntryInAllMods("kernel32.dll", (PROC)OGetProcAddress, (PROC)HGetProcAddress); 247 ReplaceIATEntryInOneMod("gdi32.dll", (PROC)OExtTextOutW, (PROC)HExtTextOutW, GetModuleHandle( TEXT("usp10.dll")));248 ReplaceIATEntryInOneMod("kernel32.dll", (PROC)OGetProcAddress, (PROC)HGetProcAddress, GetModuleHandle( TEXT("comctl32.dll")));247 ReplaceIATEntryInOneMod("gdi32.dll", (PROC)OExtTextOutW, (PROC)HExtTextOutW, GetModuleHandle(_T("usp10.dll"))); 248 ReplaceIATEntryInOneMod("kernel32.dll", (PROC)OGetProcAddress, (PROC)HGetProcAddress, GetModuleHandle(_T("comctl32.dll"))); 249 249 250 250 return true; -
lang/objective-cplusplus/i3/trunk/tmp/dwmedit/DWMEdit.cc
r38646 r38647 3 3 #include <richedit.h> 4 4 #include <stdio.h> 5 #include <tchar.h>6 5 #include <tlhelp32.h> 7 6 #include <commctrl.h> -
lang/objective-cplusplus/i3/trunk/tmp/dwmedit/Makefile
r38642 r38647 1 DWM Test.exe: DWMTest2.cc BlurEditController.cc1 DWMEdit.exe: DWMEdit.cc BlurEditController.cc 2 2 g++ $< -o $@ -Wall -O3 -mwindows -DUNICODE -D_UNICODE -lcomctl32 -g BlurEditController.cc 3 3 -
lang/objective-cplusplus/i3/trunk/tmp/dwmedit/WindowsVersionHelp.h
r38644 r38647 11 11 12 12 #else 13 14 #ifdef __CYGWIN__ 15 #define _T(x) TEXT(x) 16 #else 17 #include <tchar.h> 18 #endif 13 19 14 20 #include <stdint.h>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)