missed a few

svn path=/trunk/; revision=30290
This commit is contained in:
Ged Murphy 2007-11-09 11:47:10 +00:00
parent 6d45e894ef
commit 991f9bbaa6
5 changed files with 17 additions and 18 deletions

View file

@ -34,10 +34,10 @@ AboutDialogProc(HWND hDlg,
0); 0);
if (hIcon) if (hIcon)
{ {
SendMessage(hDlg, SendMessageW(hDlg,
WM_SETICON, WM_SETICON,
ICON_SMALL, ICON_SMALL,
(LPARAM)hIcon); (LPARAM)hIcon);
} }
hLicenseEditWnd = GetDlgItem(hDlg, hLicenseEditWnd = GetDlgItem(hDlg,

View file

@ -107,7 +107,7 @@ ChangeMapFont(HWND hDlg)
{ {
lpFontName = HeapAlloc(GetProcessHeap(), lpFontName = HeapAlloc(GetProcessHeap(),
0, 0,
(Len + 1) * sizeof(TCHAR)); (Len + 1) * sizeof(WCHAR));
if (lpFontName) if (lpFontName)
{ {
@ -138,7 +138,7 @@ AddCharToSelection(HWND hText,
{ {
lpText = HeapAlloc(GetProcessHeap(), lpText = HeapAlloc(GetProcessHeap(),
0, 0,
(Len + 2) * sizeof(TCHAR)); (Len + 2) * sizeof(WCHAR));
if (lpText) if (lpText)
{ {
@ -267,10 +267,10 @@ DlgProc(HWND hDlg,
case IDC_SELECT: case IDC_SELECT:
{ {
TCHAR ch; WCHAR ch;
HWND hMap = GetDlgItem(hDlg, IDC_FONTMAP); HWND hMap = GetDlgItem(hDlg, IDC_FONTMAP);
ch = (TCHAR) SendMessageW(hMap, FM_GETCHAR, 0, 0); ch = (WCHAR) SendMessageW(hMap, FM_GETCHAR, 0, 0);
if (ch) if (ch)
{ {
@ -343,10 +343,10 @@ DlgProc(HWND hDlg,
INT WINAPI INT WINAPI
_tWinMain(HINSTANCE hInst, wWinMain(HINSTANCE hInst,
HINSTANCE hPrev, HINSTANCE hPrev,
LPTSTR Cmd, LPWSTR Cmd,
int iCmd) int iCmd)
{ {
INITCOMMONCONTROLSEX iccx; INITCOMMONCONTROLSEX iccx;
INT Ret = 1; INT Ret = 1;

View file

@ -29,7 +29,7 @@ SetLrgFont(PMAP infoPtr)
{ {
lpFontName = HeapAlloc(GetProcessHeap(), lpFontName = HeapAlloc(GetProcessHeap(),
0, 0,
(Len + 1) * sizeof(TCHAR)); (Len + 1) * sizeof(WCHAR));
if (lpFontName) if (lpFontName)
{ {

View file

@ -220,10 +220,10 @@ NotifyParentOfSelection(PMAP infoPtr,
mnmh.ch = ch; mnmh.ch = ch;
Ret = SendMessage(infoPtr->hParent, Ret = SendMessageW(infoPtr->hParent,
WM_NOTIFY, WM_NOTIFY,
(WPARAM)mnmh.hdr.idFrom, (WPARAM)mnmh.hdr.idFrom,
(LPARAM)&mnmh); (LPARAM)&mnmh);
} }
return Ret; return Ret;

View file

@ -2,7 +2,6 @@
#define __CHARMAP_PRECOMP_H #define __CHARMAP_PRECOMP_H
#include <windows.h> #include <windows.h>
#include <stdio.h> #include <stdio.h>
#include <tchar.h>
#include <commctrl.h> #include <commctrl.h>
#include "resource.h" #include "resource.h"