mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 11:48:04 +00:00
missed a few
svn path=/trunk/; revision=30290
This commit is contained in:
parent
6d45e894ef
commit
991f9bbaa6
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -29,7 +29,7 @@ SetLrgFont(PMAP infoPtr)
|
|||
{
|
||||
lpFontName = HeapAlloc(GetProcessHeap(),
|
||||
0,
|
||||
(Len + 1) * sizeof(TCHAR));
|
||||
(Len + 1) * sizeof(WCHAR));
|
||||
|
||||
if (lpFontName)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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