Ensure the first EVT_SIZE has happened before the first EVT_PAINT

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-10-30 21:35:54 +00:00
parent 0ae3862362
commit c59e73e82d

View File

@@ -136,6 +136,7 @@ class AnalogClockWindow(wx.PyWindow):
def OnPaint(self, event):
dc = wx.BufferedPaintDC(self)
if hasattr(self, 'coords'):
self._doDrawHands(dc, True)