]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxOGL.py
give focus to show top level windows
[wxWidgets.git] / wxPython / demo / wxOGL.py
index a13bee893a23472682d7dbcd7aedbe77094d1461..c9e5f699171f7273b644213717a669d6e3f94dd1 100644 (file)
@@ -196,6 +196,13 @@ class TestWindow(wxShapeCanvas):
         self.diagram.Destroy()
 
 
+    def OnBeginDragLeft(self, x, y, keys):
+        self.log.write("OnBeginDragLeft: %s, %s, %s\n" % (x, y, keys))
+
+    def OnEndDragLeft(self, x, y, keys):
+        self.log.write("OnEndDragLeft: %s, %s, %s\n" % (x, y, keys))
+
+
 #----------------------------------------------------------------------
 
 def runTest(frame, nb, log):