More demo conversion and cleanup from Jeff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -1,7 +1,3 @@
 | 
			
		||||
# 11/21/2003 - Jeff Grimmett (grimmtooth@softhome.net)
 | 
			
		||||
#
 | 
			
		||||
# o Updated for wx namespace
 | 
			
		||||
# 
 | 
			
		||||
 | 
			
		||||
import  time
 | 
			
		||||
import  wx
 | 
			
		||||
@@ -14,6 +10,8 @@ class CustomStatusBar(wx.StatusBar):
 | 
			
		||||
 | 
			
		||||
        # This status bar has three fields
 | 
			
		||||
        self.SetFieldsCount(3)
 | 
			
		||||
        # Sets the three fields to be relative widths to each other.
 | 
			
		||||
        self.SetStatusWidths([-2, -1, -2])
 | 
			
		||||
        self.log = log
 | 
			
		||||
        self.sizeChanged = False
 | 
			
		||||
        self.Bind(wx.EVT_SIZE, self.OnSize)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user