Add wxTextEntry::ForceUpper()
Allow automatically converting lower-case letters entered into wxTextCtrl to upper-case equivalents. Provide generic fallback and implement the method natively for all the major platforms. Also update the text sample to show it in action.
This commit is contained in:
@@ -655,7 +655,10 @@ public :
|
||||
|
||||
virtual bool CanClipMaxLength() const { return false; }
|
||||
virtual void SetMaxLength(unsigned long WXUNUSED(len)) {}
|
||||
|
||||
|
||||
virtual bool CanForceUpper() { return false; }
|
||||
virtual void ForceUpper() {}
|
||||
|
||||
virtual bool GetStyle( long position, wxTextAttr& style);
|
||||
virtual void SetStyle( long start, long end, const wxTextAttr& style ) ;
|
||||
virtual void Copy() ;
|
||||
|
Reference in New Issue
Block a user