]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/DragImage.py
A way to make the DC classes in wxPython look like the ones in 2.5, so
[wxWidgets.git] / wxPython / demo / DragImage.py
index 05f7853a998b6a4415f0754008ef7e78009088c3..7107fc32444ab18562d347c333658a8c3bac8c45 100644 (file)
@@ -51,6 +51,7 @@ class DragCanvas(wx.ScrolledWindow):
         # Make a shape from an image and mask.  This one will demo
         # dragging outside the window
         bmp = images.getTestStarBitmap()
+        ##bmp = wx.Bitmap('bitmaps/toucan.png')
         shape = DragShape(bmp)
         shape.pos = (5, 5)
         shape.fullscreen = True
@@ -337,5 +338,5 @@ full-screen dragging.
 if __name__ == '__main__':
     import sys,os
     import run
-    run.main(['', os.path.basename(sys.argv[0])])
+    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])