summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-05-08 17:15:41 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2013-05-08 17:15:41 +0100
commit9b5547a497f440622a1ea93053501fdb92238035 (patch)
tree8f261584300723b140148bda337c45257c4137f5 /src/gui
parentf6f974e79df0b3cc43b905b8bb1b68388907d819 (diff)
downloadfpGUI-9b5547a497f440622a1ea93053501fdb92238035.tar.xz
MessageDialog: BeginDraw/EndDraw is not needed in HandlePaint()
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/messagedialog.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/messagedialog.inc b/src/gui/messagedialog.inc
index 0e04541d..db894f6d 100644
--- a/src/gui/messagedialog.inc
+++ b/src/gui/messagedialog.inc
@@ -262,7 +262,6 @@ var
y: integer;
tw: integer;
begin
- Canvas.BeginDraw;
inherited HandlePaint;
case FDialogType of
mtAbout:
@@ -312,7 +311,6 @@ begin
Inc(y, FLineHeight);
end;
end;
- Canvas.EndDraw;
end;
procedure TfpgMessageDialog.HandleShow;