mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 10:52:52 +00:00
missed a few
svn path=/trunk/; revision=30290
This commit is contained in:
parent
6d45e894ef
commit
991f9bbaa6
|
@ -34,7 +34,7 @@ AboutDialogProc(HWND hDlg,
|
|||
0);
|
||||
if (hIcon)
|
||||
{
|
||||
SendMessage(hDlg,
|
||||
SendMessageW(hDlg,
|
||||
WM_SETICON,
|
||||
ICON_SMALL,
|
||||
(LPARAM)hIcon);
|
||||
|
|
|
@ -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,9 +343,9 @@ DlgProc(HWND hDlg,
|
|||
|
||||
|
||||
INT WINAPI
|
||||
_tWinMain(HINSTANCE hInst,
|
||||
wWinMain(HINSTANCE hInst,
|
||||
HINSTANCE hPrev,
|
||||
LPTSTR Cmd,
|
||||
LPWSTR Cmd,
|
||||
int iCmd)
|
||||
{
|
||||
INITCOMMONCONTROLSEX iccx;
|
||||
|
|
|
@ -29,7 +29,7 @@ SetLrgFont(PMAP infoPtr)
|
|||
{
|
||||
lpFontName = HeapAlloc(GetProcessHeap(),
|
||||
0,
|
||||
(Len + 1) * sizeof(TCHAR));
|
||||
(Len + 1) * sizeof(WCHAR));
|
||||
|
||||
if (lpFontName)
|
||||
{
|
||||
|
|
|
@ -220,7 +220,7 @@ NotifyParentOfSelection(PMAP infoPtr,
|
|||
|
||||
mnmh.ch = ch;
|
||||
|
||||
Ret = SendMessage(infoPtr->hParent,
|
||||
Ret = SendMessageW(infoPtr->hParent,
|
||||
WM_NOTIFY,
|
||||
(WPARAM)mnmh.hdr.idFrom,
|
||||
(LPARAM)&mnmh);
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#define __CHARMAP_PRECOMP_H
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <tchar.h>
|
||||
#include <commctrl.h>
|
||||
#include "resource.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue