diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2009-02-16 07:37:08 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2009-02-16 07:37:08 +0000 |
commit | 2759e11c0f5674184afbf29f7abd5799884ba813 (patch) | |
tree | b116210d560dee2e03e7d71d31df6a9196e4c588 /src/corelib/fpg_main.pas | |
parent | f67845f6fe0e983f1958dee424f684abb330dc3b (diff) | |
download | fpGUI-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.pas | 2 |
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); |