]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
Lock whole screen when popup is open under GTK+.
[wxWidgets.git] / wxPython / demo / Main.py
index a31707912be8faaca1f691e0aab7b0be1900eef7..61bb75c685318800a3fc019c1d623ffac13ac056 100644 (file)
@@ -112,6 +112,7 @@ _treeList = [
         'SpinCtrl',
         'SplitterWindow',
         'StaticBitmap',
         'SpinCtrl',
         'SplitterWindow',
         'StaticBitmap',
+        'StaticBox',
         'StaticText',
         'StatusBar',
         'StockButtons',
         'StaticText',
         'StatusBar',
         'StockButtons',
@@ -318,7 +319,7 @@ class MessagePanel(wx.Panel):
         box.Add((10,10), 2)
 
         self.SetSizer(box)
         box.Add((10,10), 2)
 
         self.SetSizer(box)
-        
+        self.Fit()
         
 
 #---------------------------------------------------------------------------
         
 
 #---------------------------------------------------------------------------