git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34143
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxMSW: Fixed a bug in wx.TextCtrl where all the lines were being used
to calculate the best size, instead of using a reasonable limit.
+XRCed: Use wx.GetDefaultPyEncoding/wx.SetDefaultPyEncoding for
+changing active encoding. Fixed pasting siblings (Ctrl key pressed
+while pasting).
+wx.lib.filebrowsebutton: Bug fix from Chad Netzer for when
+self.history is None.
"""Return the current history list"""
if self.historyCallBack != None:
return self.historyCallBack()
- else:
+ elif self.history:
return list( self.history )
+ else:
+ return []
def OnSetFocus(self, event):