diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-04-27 22:56:37 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-04-27 22:56:37 +0000 |
commit | dd63a78ef833d7fec32890e8c2ce53ad2a4ec1b6 (patch) | |
tree | 9f25310cab1ef71c931376e5136a86d8fda7ed10 /src/gui/gui_radiobutton.pas | |
parent | 1bca93f58c45a5d0d36e68b527f20ad008832f33 (diff) | |
download | fpGUI-dd63a78ef833d7fec32890e8c2ce53ad2a4ec1b6.tar.xz |
* Removed unneeded Canvas.BeginDraw and Canvas.EndDraw calls.
Diffstat (limited to 'src/gui/gui_radiobutton.pas')
-rw-r--r-- | src/gui/gui_radiobutton.pas | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/gui_radiobutton.pas b/src/gui/gui_radiobutton.pas index d59f6f23..0ca1a11e 100644 --- a/src/gui/gui_radiobutton.pas +++ b/src/gui/gui_radiobutton.pas @@ -165,7 +165,6 @@ var img: TfpgImage; ix: integer; begin - Canvas.BeginDraw; inherited HandlePaint; Canvas.SetColor(FBackgroundColor); @@ -206,8 +205,6 @@ begin ty := 0; Canvas.SetTextColor(FTextColor); fpgStyle.DrawString(Canvas, tx, ty, FText, Enabled); - - Canvas.EndDraw; end; procedure TfpgRadioButton.HandleLMouseDown(x, y: integer; |