mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 22:00:37 +02:00
* unicode version of TListViewer.GetText
git-svn-id: branches/unicodekvm@48560 -
This commit is contained in:
parent
6198d4a0a1
commit
bb06c623c3
@ -615,7 +615,11 @@ TYPE
|
||||
CONSTRUCTOR Load (Var S: TStream);
|
||||
FUNCTION GetPalette: PPalette; Virtual;
|
||||
FUNCTION IsSelected (Item: Sw_Integer): Boolean; Virtual;
|
||||
{$ifdef FV_UNICODE}
|
||||
FUNCTION GetText (Item: Sw_Integer; MaxLen: Sw_Integer): UnicodeString; Virtual;
|
||||
{$else FV_UNICODE}
|
||||
FUNCTION GetText (Item: Sw_Integer; MaxLen: Sw_Integer): String; Virtual;
|
||||
{$endif FV_UNICODE}
|
||||
PROCEDURE Draw; Virtual;
|
||||
PROCEDURE FocusItem (Item: Sw_Integer); Virtual;
|
||||
PROCEDURE SetTopItem (Item: Sw_Integer);
|
||||
@ -3589,7 +3593,11 @@ END;
|
||||
{--TListViewer--------------------------------------------------------------}
|
||||
{ GetText -> Platforms DOS/DPMI/WIN/NT/OS2 - Updated 28May98 LdB }
|
||||
{---------------------------------------------------------------------------}
|
||||
{$ifdef FV_UNICODE}
|
||||
FUNCTION TListViewer.GetText (Item: Sw_Integer; MaxLen: Sw_Integer): UnicodeString;
|
||||
{$else FV_UNICODE}
|
||||
FUNCTION TListViewer.GetText (Item: Sw_Integer; MaxLen: Sw_Integer): String;
|
||||
{$endif FV_UNICODE}
|
||||
BEGIN { Abstract method }
|
||||
GetText := ''; { Return empty }
|
||||
END;
|
||||
|
Loading…
Reference in New Issue
Block a user