#define __GTKTEXTCTRLH__
#ifdef __GNUG__
- #pragma interface
+ #pragma interface "textctrl.h"
#endif
//-----------------------------------------------------------------------------
virtual void Replace(long from, long to, const wxString& value);
virtual void Remove(long from, long to);
- // load/save the controls contents from/to the file
- virtual bool LoadFile(const wxString& file);
- virtual bool SaveFile(const wxString& file);
-
// clears the dirty flag
virtual void DiscardEdits();
// considering all its contents as a single strings) and (x, y) coordinates
// which represent column and line.
virtual long XYToPosition(long x, long y) const;
- virtual void PositionToXY(long pos, long *x, long *y) const;
+ virtual bool PositionToXY(long pos, long *x, long *y) const;
virtual void ShowPosition(long pos);
bool IsOwnGtkWindow( GdkWindow *window );
void ApplyWidgetStyle();
void CalculateScrollbar();
+ void OnInternalIdle();
+
+ void SetModified() { m_modified = TRUE; }
private:
bool m_modified;