removed virtual modifier from Command handlers, added readonly and color information to textctrls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-07-25 08:42:04 +00:00
parent 64c06a5085
commit f8d5f1e2b4
3 changed files with 15 additions and 4 deletions

View File

@@ -78,6 +78,16 @@ public:
// clears the dirty flag
virtual void DiscardEdits();
// set the max number of characters which may be entered in a single line
// text control
virtual void SetMaxLength(unsigned long len) ;
// text control under some platforms supports the text styles: these
// methods allow to apply the given text style to the given selection or to
// set/get the style which will be used for all appended text
virtual bool SetStyle(long start, long end, const wxTextAttr& style);
virtual bool SetDefaultStyle(const wxTextAttr& style);
// writing text inserts it at the current position, appending always
// inserts it at the end
virtual void WriteText(const wxString& text);
@@ -155,6 +165,7 @@ protected:
void* m_macTXN ;
void* m_macTXNvars ;
bool m_macUsesTXN ;
unsigned long m_maxLength ;
DECLARE_EVENT_TABLE()
};