Added various tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -106,7 +106,7 @@ class MyEvtHandler(wxShapeEvtHandler):
|
||||
|
||||
def OnLeftClick(self, x, y, keys = 0, attachment = 0):
|
||||
shape = self.GetShape()
|
||||
print shape.__class__
|
||||
print shape.__class__, shape.GetClassName()
|
||||
canvas = shape.GetCanvas()
|
||||
dc = wxClientDC(canvas)
|
||||
canvas.PrepareDC(dc)
|
||||
|
Reference in New Issue
Block a user