Bug fix from Chad Netzer for when self.history is None
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -289,8 +289,10 @@ class FileBrowseButtonWithHistory( FileBrowseButton ):
 | 
			
		||||
        """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):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user