Changeset 38647

Show
Ignore:
Timestamp:
11/02/10 22:20:24 (3 years ago)
Author:
saturday06
Message:

wst

Location:
lang/objective-cplusplus/i3/trunk/tmp/dwmedit
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • lang/objective-cplusplus/i3/trunk/tmp/dwmedit/BlurEditController.cc

    r38644 r38647  
    137137                                    (PROC)self.HGetProcAddress, 
    138138                                    (PROC)self.OGetProcAddress, 
    139                                     GetModuleHandle(TEXT("comctl32.dll"))); 
     139                                    GetModuleHandle(_T("comctl32.dll"))); 
    140140            return (FARPROC)self.HDrawThemeBackground; 
    141141        } 
     
    245245        //ReplaceIATEntryInAllMods("uxtheme.dll", (PROC)ODrawThemeBackground, (PROC)HDrawThemeBackground); 
    246246        //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"))); 
    249249 
    250250        return true; 
  • lang/objective-cplusplus/i3/trunk/tmp/dwmedit/DWMEdit.cc

    r38646 r38647  
    33#include <richedit.h> 
    44#include <stdio.h> 
    5 #include <tchar.h> 
    65#include <tlhelp32.h> 
    76#include <commctrl.h> 
  • lang/objective-cplusplus/i3/trunk/tmp/dwmedit/Makefile

    r38642 r38647  
    1 DWMTest.exe: DWMTest2.cc BlurEditController.cc 
     1DWMEdit.exe: DWMEdit.cc BlurEditController.cc 
    22        g++ $< -o $@ -Wall -O3 -mwindows -DUNICODE -D_UNICODE -lcomctl32 -g BlurEditController.cc 
    33 
  • lang/objective-cplusplus/i3/trunk/tmp/dwmedit/WindowsVersionHelp.h

    r38644 r38647  
    1111 
    1212#else 
     13 
     14#ifdef __CYGWIN__ 
     15#define _T(x) TEXT(x) 
     16#else 
     17#include <tchar.h> 
     18#endif 
    1319 
    1420#include <stdint.h>