mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 07:18:24 +02:00
customdrawn-ws: Fixes non-android compilation
git-svn-id: trunk@34133 -
This commit is contained in:
parent
f6961ca877
commit
9d9bf409cd
@ -4776,20 +4776,22 @@ begin
|
||||
end;
|
||||
|
||||
Result := True;
|
||||
end;
|
||||
end;*)
|
||||
|
||||
function TQtWidgetSet.MessageBox(hWnd: HWND; lpText, lpCaption: PChar; uType: Cardinal): integer;
|
||||
var
|
||||
{$ifndef CD_Android}
|
||||
function TCDWidgetSet.MessageBox(hWnd: HWND; lpText, lpCaption: PChar; uType: Cardinal): integer;
|
||||
{var
|
||||
Str: WideString;
|
||||
TitleStr: WideString;
|
||||
OkStr: WideString;
|
||||
OkStr: WideString;}
|
||||
begin
|
||||
//TODO: Finish full implementation of MessageBox
|
||||
{ //TODO: Finish full implementation of MessageBox
|
||||
Str := GetUtf8String('TQtWidgetSet.MessageBox - not implemented');
|
||||
TitleStr := GetUtf8String(lpCaption);
|
||||
OkStr := GetUtf8String('Ok');
|
||||
Result := QMessageBox_information(TQtWidget(hWnd).Widget, @Str, @TitleStr, @OkStr);
|
||||
end;*)
|
||||
Result := QMessageBox_information(TQtWidget(hWnd).Widget, @Str, @TitleStr, @OkStr);}
|
||||
end;
|
||||
{$endif}
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Function: MoveToEx
|
||||
|
Loading…
Reference in New Issue
Block a user