]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxOGL.py
Updated to current API.
[wxWidgets.git] / wxPython / demo / wxOGL.py
index 17f0015899e33544d737c36d6562c3acef07e5c4..2094959821a89b9c9e282c038ca2a5a0cea3e476 100644 (file)
@@ -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)