diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-06-30 13:25:51 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-06-30 13:25:51 +0000 |
commit | ea4a9faddc8c3a5322d43d2484df9d6cc1a04041 (patch) | |
tree | 8f2716b3b35982111da2daf284c7c3b4ae4ca8b7 /src/corelib | |
parent | e1c7d515faed0c5ee53db5492fb7bc714fdff02a (diff) | |
download | fpGUI-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.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; |