diff options
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/gdi/gfx_gdi.pas | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas index 9bf66d0c..601aa317 100644 --- a/src/corelib/gdi/gfx_gdi.pas +++ b/src/corelib/gdi/gfx_gdi.pas @@ -1338,14 +1338,10 @@ end; procedure TfpgWindowImpl.DoSetWindowTitle(const atitle: string); begin - {$ifdef wince} - Windows.SetWindowText(WinHandle, PWideChar(Utf8Decode(ATitle))); - {$else} if UnicodeEnabledOS then Windows.SetWindowTextW(WinHandle, PWideChar(Utf8Decode(ATitle))) else Windows.SetWindowText(WinHandle, PChar(Utf8ToAnsi(ATitle))); - {$endif} end; procedure TfpgWindowImpl.DoSetMouseCursor; |