git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9945
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#----------------------------------------------------------------------
from wxPython.wx import *
-import os
+import os, types
#----------------------------------------------------------------------
self.SetAutoLayout(true)
self.SetSizer( outsidebox )
self.Layout()
+ if type( size ) == types.TupleType:
+ size = apply( wxSize, size)
if size.width != -1 or size.height != -1:
self.SetSize(size)