summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-06-30 13:25:51 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-06-30 13:25:51 +0000
commitea4a9faddc8c3a5322d43d2484df9d6cc1a04041 (patch)
tree8f2716b3b35982111da2daf284c7c3b4ae4ca8b7 /src/corelib
parente1c7d515faed0c5ee53db5492fb7bc714fdff02a (diff)
downloadfpGUI-ea4a9faddc8c3a5322d43d2484df9d6cc1a04041.tar.xz
* A quick implementation of the Vista Black button.
* Minor code cleanup in GDI window title procedure.
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/gdi/gfx_gdi.pas4
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;