summaryrefslogtreecommitdiff
path: root/src/corelib/gdi/gfx_gdi.pas
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-07-31 09:44:32 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-07-31 09:44:32 +0000
commit0fdfd9d1251f47d40a4fa9fc3d4599ef713a7999 (patch)
treec39b544202d4db5d3d871d84391935758bc7a181 /src/corelib/gdi/gfx_gdi.pas
parent0e2ffba0302d927fa856cbd62f725417714cc74c (diff)
downloadfpGUI-0fdfd9d1251f47d40a4fa9fc3d4599ef713a7999.tar.xz
* Fixed FillRectangle() under GDI and X11.
* Implemented Enable/Disbled state in TfpgComboBox. * Fixed painting issues in TfpgScrollbar and TfpgMemo (tested under X11). * Moved SetEnabled and SetVisible in TfpgWidget to protected and virtual.
Diffstat (limited to 'src/corelib/gdi/gfx_gdi.pas')
-rw-r--r--src/corelib/gdi/gfx_gdi.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas
index f9a40f77..1cae9066 100644
--- a/src/corelib/gdi/gfx_gdi.pas
+++ b/src/corelib/gdi/gfx_gdi.pas
@@ -1251,7 +1251,7 @@ procedure TfpgCanvasImpl.DoFillRectangle(x1, y1, x2, y2: TfpgCoord);
var
r: TRect;
begin
- r := Rect(x1, y1, x2, y2);
+ r := Rect(x1, y1, x2+1, y2+1);
Windows.FillRect(Fgc, r, FBrush);
end;