allow native max length support, see #10269
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0e1f8ea4a3
commit
4386db06ba
@ -28,6 +28,9 @@ public :
|
||||
wxNSTextFieldControl( wxWindow *wxPeer, wxTextEntry *entry, WXWidget w );
|
||||
virtual ~wxNSTextFieldControl();
|
||||
|
||||
virtual bool CanClipMaxLength() const { return true; }
|
||||
virtual void SetMaxLength(unsigned long len);
|
||||
|
||||
virtual wxString GetStringValue() const ;
|
||||
virtual void SetStringValue( const wxString &str) ;
|
||||
virtual void Copy() ;
|
||||
|
@ -631,6 +631,9 @@ public :
|
||||
virtual void GetSelection( long* from, long* to ) const = 0 ;
|
||||
virtual void WriteText( const wxString& str ) = 0 ;
|
||||
|
||||
virtual bool CanClipMaxLength() const { return false; }
|
||||
virtual void SetMaxLength(unsigned long WXUNUSED(len)) {}
|
||||
|
||||
virtual bool GetStyle( long position, wxTextAttr& style);
|
||||
virtual void SetStyle( long start, long end, const wxTextAttr& style ) ;
|
||||
virtual void Copy() ;
|
||||
|
Loading…
Reference in New Issue
Block a user