diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-05-08 17:15:41 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2013-05-08 17:15:41 +0100 |
commit | 9b5547a497f440622a1ea93053501fdb92238035 (patch) | |
tree | 8f261584300723b140148bda337c45257c4137f5 | |
parent | f6f974e79df0b3cc43b905b8bb1b68388907d819 (diff) | |
download | fpGUI-9b5547a497f440622a1ea93053501fdb92238035.tar.xz |
MessageDialog: BeginDraw/EndDraw is not needed in HandlePaint()
-rw-r--r-- | src/gui/messagedialog.inc | 2 |
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; |