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);
if (hIcon)
{
SendMessage(hDlg,
WM_SETICON,
ICON_SMALL,
(LPARAM)hIcon);
SendMessageW(hDlg,
WM_SETICON,
ICON_SMALL,
(LPARAM)hIcon);
}
hLicenseEditWnd = GetDlgItem(hDlg,

View file

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

View file

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

View file

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

View file

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