]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/MDIDemo.py
apparently the check for too small rect is needed not only with wxNB_MULTILINE (see...
[wxWidgets.git] / wxPython / demo / MDIDemo.py
index 190b5a4a5e0c840c8533d0cb2924edf4641c09be..43a1d170df48659adc901d58e3affd711a301c44 100644 (file)
@@ -1,10 +1,3 @@
-#!/usr/bin/env python
-
-# 11/12/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-# o Replaced hardcoded menu IDs with dynamic IDs
-#
 
 import  wx
 
@@ -73,7 +66,7 @@ class MyParentFrame(wx.MDIParentFrame):
             y = 0
 
             while y < sz.height:
-                dc.DrawBitmap(self.bg_bmp, (x, y))
+                dc.DrawBitmap(self.bg_bmp, x, y)
                 y = y + h
 
             x = x + w