Create(parent, id, value, pos, size, style, validator, name);
}
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent,
wxWindowID id,
// load the controls contents from the file
virtual bool LoadFile(const wxString& file);
+ virtual bool LoadFile(const wxString& file, int WXUNUSED(fileType)) { return LoadFile(file); }
// sets/clears the dirty flag
virtual void MarkDirty();
wxMacTextControl * GetPeer() const
{ return (wxMacTextControl*) m_peer; }
-
+
protected:
// common part of all ctors
void Init();
// need to make this public because of the current implementation via callbacks
unsigned long m_maxLength;
+
+ bool GetTriggerOnSetValue() const
+ {
+ return m_triggerOnSetValue;
+ }
+
+ void SetTriggerOnSetValue(bool trigger)
+ {
+ m_triggerOnSetValue = trigger;
+ }
+
+ bool m_triggerOnSetValue ;
private :
wxMenu *m_privateContextMenu;