MaskedEditMixin: - fixed size calculations on changing fonts - fixed tabbing logic now that tab events are entered into the control by default (ie event.Skip()) if wx.TE_PROCESS_TAB is set - fixed code attempting to fix the selection after focus events generated on control destruction, to prevent tracebacks TextCtrl, ComboBox - Added support for XRC - Fixed sizing calculation code - Added SetFont() override method that will recalculate the size if this is called. - Added AppendItems() for ComboBox NumCtrl: - prevented ctrl from accepting same grouping and decimal character, - fixed issue preventing paste from working if decimal char was different than '.' TimeCtrl: - Fixed default value to use 24hour time (which will be converted appropriately if format supports it, and added code to check if local timezone uses "AM/PM" for this concept; if not, control now defaults to 24hour format, and disallows the am/pm form. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			21 lines
		
	
	
		
			905 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			905 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #----------------------------------------------------------------------
 | |
| # Name:        wxPython.lib.masked
 | |
| # Purpose:     A package containing the masked edit controls
 | |
| #
 | |
| # Author:      Will Sadkin, Jeff Childers
 | |
| #
 | |
| # Created:     6-Mar-2004
 | |
| # RCS-ID:      $Id$
 | |
| # Copyright:   (c) 2004
 | |
| # License:     wxWidgets license
 | |
| #----------------------------------------------------------------------
 | |
| 
 | |
| # import relevant external symbols into package namespace:
 | |
| from maskededit import *
 | |
| from textctrl   import BaseMaskedTextCtrl, PreMaskedTextCtrl, TextCtrl
 | |
| from combobox   import BaseMaskedComboBox, PreMaskedComboBox, ComboBox, MaskedComboBoxSelectEvent
 | |
| from numctrl    import NumCtrl, wxEVT_COMMAND_MASKED_NUMBER_UPDATED, EVT_NUM, NumberUpdatedEvent
 | |
| from timectrl   import TimeCtrl, wxEVT_TIMEVAL_UPDATED, EVT_TIMEUPDATE, TimeUpdatedEvent
 | |
| from ipaddrctrl import IpAddrCtrl
 | |
| from ctrl       import Ctrl, controlTypes
 |