From ea4a9faddc8c3a5322d43d2484df9d6cc1a04041 Mon Sep 17 00:00:00 2001 From: graemeg Date: Mon, 30 Jun 2008 13:25:51 +0000 Subject: * A quick implementation of the Vista Black button. * Minor code cleanup in GDI window title procedure. --- src/corelib/gdi/gfx_gdi.pas | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/corelib') 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; -- cgit v1.2.3-70-g09d2