- void Clear(void);
- void Append( const wxString &item );
- void Append( const wxString &item, char* clientData );
- void Delete( int n );
- int FindString( const wxString &item );
- char* GetClientData( int n );
- void SetClientData( int n, char * clientData );
- int GetSelection(void) const;
- wxString GetString( int n ) const;
- wxString GetStringSelection(void) const;
- int Number(void) const;
- void SetSelection( int n );
- void SetStringSelection( const wxString &string );
-
- wxString GetValue(void) const ;
- void SetValue(const wxString& value);
-
- void Copy(void);
- void Cut(void);
- void Paste(void);
- void SetInsertionPoint(long pos);
- void SetInsertionPointEnd(void);
- long GetInsertionPoint(void) const ;
- long GetLastPosition(void) 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 SetFont( const wxFont &font );
-
- // implementation
+ void Clear();
+ void Delete( int n );
+
+ virtual int FindString( const wxString &item ) const;
+ int GetSelection() const;
+ wxString GetString( int n ) const;
+ wxString GetStringSelection() const;
+ int GetCount() const;
+ int Number() const { return GetCount(); }
+ void SetSelection( int n );
+ void Select( int n ) { return SetSelection( n ); }
+ bool SetStringSelection( const wxString &string );
+ void SetString(int n, const wxString &text);
+
+ wxString GetValue() const;
+ void SetValue(const wxString& value);
+
+ void Copy();
+ void Cut();
+ void Paste();
+ void SetInsertionPoint( long pos );
+ void SetInsertionPointEnd() { SetInsertionPoint( -1 ); }
+ long GetInsertionPoint() const;
+ long GetLastPosition() const;
+ void Remove(long from, long to) { Replace(from, to, wxEmptyString); }
+ void Replace( long from, long to, const wxString& value );
+ void SetSelection( long from, long to );
+ void SetEditable( bool editable );
+
+ // implementation
+
+ virtual void SetFocus();
+
+ void OnSize( wxSizeEvent &event );
+ void OnChar( wxKeyEvent &event );