#include "wx/string.h"
#include "wx/control.h"
-#if USE_IOSTREAMH
+#if wxUSE_IOSTREAMH
#include <iostream.h>
#else
#include <iostream>
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxTextCtrl);
-public:
+ public:
wxTextCtrl();
wxTextCtrl( wxWindow *parent, wxWindowID id, const wxString &value = "",
const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
void Cut();
void Copy();
void Paste();
- void Delete();
+ void Clear();
void OnChar( wxKeyEvent &event );
wxTextCtrl& operator<<(double d);
wxTextCtrl& operator<<(const char c);
- virtual GtkWidget* GetConnectWidget(void);
-
-private:
- bool m_modified;
+ void SetFont( const wxFont &font );
+ virtual void SetBackgroundColour(const wxColour &colour);
- GtkWidget *m_text;
+ // implementation
+
+ GtkWidget* GetConnectWidget(void);
+ bool IsOwnGtkWindow( GdkWindow *window );
+
+ private:
+
+ bool m_modified;
+ GtkWidget *m_text;
};
#endif // __GTKTEXTCTRLH__