git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63129
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual wxSize DoGetBestSize() const;
- bool m_editable;
-
// flag is set to true when the user edits the controls contents
bool m_dirty;
- // need to make this public because of the current implementation via callbacks
- unsigned long m_maxLength;
-
virtual void EnableTextChangedEvents(bool enable)
{
m_triggerUpdateEvents = enable;
{
public:
- wxTextEntry()
+ wxTextEntry()
+ : m_editable(true),
+ m_maxLength(0)
{ }
virtual ~wxTextEntry() {};
// need to make this public because of the current implementation via callbacks
unsigned long m_maxLength;
- virtual void EnableTextChangedEvents(bool enable)
- {
- m_triggerUpdateEvents = enable;
- }
-
- bool m_triggerUpdateEvents ;
-
};
#endif // _WX_OSX_TEXTENTRY_H_
void wxTextCtrl::Init()
{
- m_editable = true ;
m_dirty = false;
- m_maxLength = 0;
m_privateContextMenu = NULL;
m_triggerUpdateEvents = true ;
}