]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/lib/floatbar.py
OnEnter/OnDragOver API update (compiles, links, somewhat runs under wxGTK)
[wxWidgets.git] / utils / wxPython / lib / floatbar.py
index fefca18e5985fcb7fc4a99fbde025bc71c4dc17a..ce846b4a2280c2642ae3c0f0e89b48fd0da7f8e6 100644 (file)
@@ -104,8 +104,9 @@ class wxFloatBar(wxToolBar):
             self.floatframe.SetToolBar(self)
             self.oldcolor = self.GetBackgroundColour()
             barsize = self.GetSizeTuple()
-            self.floatframe.SetSize(wxSize(barsize[0], barsize[1] + self.titleheight))
-            self.floatframe.SetClientSize(wxSize(barsize[0], barsize[1]))
+#            self.floatframe.SetSize(wxSize(barsize[0], barsize[1] + self.titleheight))
+#            self.floatframe.SetClientSize(wxSize(barsize[0], barsize[1]))
+            self.floatframe.SetClientSize(wxSize(50,200))
             newpos = self.parentframe.GetPosition()
             newpos.y = newpos.y + self.titleheight
             self.floatframe.SetPosition(newpos)