- // Clipboard operations
- void Copy(void);
- void Cut(void);
- void Paste(void);
- void SetInsertionPoint(const long pos);
- void SetInsertionPointEnd(void);
- long GetInsertionPoint(void) const ;
- long GetLastPosition(void) const ;
- void Replace(const long from, const long to, const wxString& value);
- void Remove(const long from, const long to);
- void SetSelection(const long from, const long to);
- void SetEditable(const bool editable);
-
- private:
+ void Copy();
+ void Cut();
+ void Paste();
+ void SetInsertionPoint( long pos );
+ void SetInsertionPointEnd();
+ long GetInsertionPoint() const;
+ long GetLastPosition() const;
+ void Replace( long from, long to, const wxString& value );
+ void Remove( long from, long to );
+ void SetSelection( long from, long to );
+ void SetEditable( bool editable );
+
+ void OnSize( wxSizeEvent &event );
+ void OnChar( wxKeyEvent &event );
+
+// implementation
+
+ bool m_alreadySent;
+ wxList m_clientDataList;
+ wxList m_clientObjectList;
+
+ void AppendCommon( const wxString &item );
+ GtkWidget* GetConnectWidget();
+ bool IsOwnGtkWindow( GdkWindow *window );
+ void ApplyWidgetStyle();