mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 08:50:16 +02:00
Small fix for running wince intf on desktop.
git-svn-id: trunk@14127 -
This commit is contained in:
parent
33fff309d0
commit
50ebe6b542
@ -548,7 +548,7 @@ begin
|
||||
LPSzClassName := @ClsName;
|
||||
end;
|
||||
|
||||
Result := Windows.RegisterClass(@WindowClass) <> 0;
|
||||
Result := Windows.RegisterClassW(@WindowClass) <> 0;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
@ -242,8 +242,9 @@ begin
|
||||
|
||||
if Window = 0 then
|
||||
begin
|
||||
Writeln('failed to create wince control, error: '+ IntToStr(GetLastError()));
|
||||
raise exception.create('failed to create win32 control, error: '+IntToStr(GetLastError()));
|
||||
// Writeln('failed to create wince control, error: '+ IntToStr(GetLastError()));
|
||||
raise exception.create('failed to create win32 control, error: '+IntToStr(GetLastError())
|
||||
+ ' control: ' + WindowTitle);
|
||||
end;
|
||||
end;
|
||||
{ after creating a child window the following happens:
|
||||
|
Loading…
Reference in New Issue
Block a user