- wxString GetStringSelection(void) const;
- int Number(void) const;
- void SetColumns( int n = 1 );
- void SetSelection( int n );
- void SetStringSelection( const wxString &string );
+
+ // implementation
+ wxList m_clientList;
+
+ void DisableEvents();
+ void EnableEvents();
+ void AppendCommon( const wxString &item );
+ void ApplyWidgetStyle();
+
+protected:
+ virtual int DoAppend(const wxString& item);
+
+ virtual void DoSetClientData( int n, void* clientData );
+ virtual void* DoGetClientData( int n ) const;
+ virtual void DoSetClientObject( int n, wxClientData* clientData );
+ virtual wxClientData* DoGetClientObject( int n ) const;
+
+ // the above virtuals hide these virtuals in wxChoiceBase
+ virtual void DoSetClientData(void* clientData )
+ { wxWindowBase::DoSetClientData(clientData); };
+ virtual void* DoGetClientData() const
+ { return(wxWindowBase::DoGetClientData()); };
+ virtual void DoSetClientObject( wxClientData* clientData )
+ { wxWindowBase::DoSetClientObject(clientData); };
+ virtual wxClientData* DoGetClientObject() const
+ { return(wxWindowBase::DoGetClientObject()); };
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxChoice)