]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxPopupWindow.py
cache return value of wxGetOsVersion
[wxWidgets.git] / wxPython / demo / wxPopupWindow.py
index c4d163e9ffefbec6915bb2b64e807ee85483442f..5f6477804ea2f3d31dcf56cf16b2172856d3b543 100644 (file)
@@ -70,10 +70,6 @@ class TestTransientPopup(wxPopupTransientWindow):
         sz = st.GetBestSize()
         panel.SetSize( (sz.width+20, sz.height+20) )
         self.SetSize(panel.GetSize())
-##         self.SetBackgroundColour("#FFB6C1")
-##         b = wxButton(self, -1, "this is a Button", (10,10))
-##         sz = b.GetBestSize()
-##         self.SetSize( (sz.width+20, sz.height+20) )
 
 
     def ProcessLeftDown(self, evt):