summaryrefslogtreecommitdiff
path: root/src/corelib/fpg_main.pas
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2009-02-16 07:37:08 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2009-02-16 07:37:08 +0000
commit2759e11c0f5674184afbf29f7abd5799884ba813 (patch)
treeb116210d560dee2e03e7d71d31df6a9196e4c588 /src/corelib/fpg_main.pas
parentf67845f6fe0e983f1958dee424f684abb330dc3b (diff)
downloadfpGUI-2759e11c0f5674184afbf29f7abd5799884ba813.tar.xz
Reverted the previous vista hint implementation. Introduced a new ExtraHint property which is separate from the Hint property.
Diffstat (limited to 'src/corelib/fpg_main.pas')
-rw-r--r--src/corelib/fpg_main.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas
index c4d3657a..3855b30d 100644
--- a/src/corelib/fpg_main.pas
+++ b/src/corelib/fpg_main.pas
@@ -1712,6 +1712,8 @@ end;
procedure TfpgStyle.DrawString(ACanvas: TfpgCanvas; x, y: TfpgCoord;
AText: string; AEnabled: boolean);
begin
+ if AText = '' then
+ Exit; //==>
if not AEnabled then
begin
ACanvas.SetTextColor(clHilite1);