mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Remove all BeginDrawing/EndDrawing calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -443,7 +443,6 @@ class PrintCalend:
|
||||
|
||||
def DoDrawing(self, DC):
|
||||
size = DC.GetSize()
|
||||
DC.BeginDrawing()
|
||||
|
||||
cal = wx.lib.calendar.PrtCalDraw(self)
|
||||
|
||||
@@ -496,8 +495,6 @@ class PrintCalend:
|
||||
|
||||
x = x + 4.0 # next column
|
||||
|
||||
DC.EndDrawing()
|
||||
|
||||
self.ymax = DC.MaxY()
|
||||
self.xmax = DC.MaxX()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user