Updates from Chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -100,7 +100,8 @@ class NavCanvas(wx.Panel):
|
||||
wx.EVT_BUTTON(self, ID_ZOOM_TO_FIT_BUTTON, self.ZoomToFit)
|
||||
|
||||
tb.Realize()
|
||||
tb.SetSizeHints(tb.GetSize())
|
||||
S = tb.GetSize()
|
||||
tb.SetSizeHints(S[0],S[1])
|
||||
return tb
|
||||
|
||||
def SetToolMode(self,event):
|
||||
|
Reference in New Issue
Block a user