- gtk_widget_show( list_item );
-}
-
-void wxComboBox::Append( const wxString &item )
-{
- m_clientDataList.Append( (wxObject*) NULL );
- m_clientObjectList.Append( (wxObject*) NULL );
-
- AppendCommon( item );
-}
-
-void wxComboBox::Append( const wxString &item, void *clientData )
-{
- m_clientDataList.Append( (wxObject*) clientData );
- m_clientObjectList.Append( (wxObject*)NULL );
-
- AppendCommon( item );
-}
-
-void wxComboBox::Append( const wxString &item, wxClientData *clientData )
-{
- m_clientDataList.Append( (wxObject*) NULL );
- m_clientObjectList.Append( (wxObject*) clientData );
-
- AppendCommon( item );
-}
-
-void wxComboBox::SetClientData( int n, void* clientData )
-{
- wxCHECK_RET( m_widget != NULL, _T("invalid combobox") );
-
- wxNode *node = m_clientDataList.Nth( n );
- if (!node) return;
-
- node->SetData( (wxObject*) clientData );
-}
-
-void* wxComboBox::GetClientData( int n )
-{
- wxCHECK_MSG( m_widget != NULL, NULL, _T("invalid combobox") );
-
- wxNode *node = m_clientDataList.Nth( n );
- if (!node) return NULL;
-
- return node->Data();
-}
-
-void wxComboBox::SetClientObject( int n, wxClientData* clientData )
-{
- wxCHECK_RET( m_widget != NULL, _T("invalid combobox") );
-
- wxNode *node = m_clientObjectList.Nth( n );
- if (!node) return;
-
- wxClientData *cd = (wxClientData*) node->Data();
- if (cd) delete cd;
-
- node->SetData( (wxObject*) clientData );
-}
-
-wxClientData* wxComboBox::GetClientObject( int n )
-{
- wxCHECK_MSG( m_widget != NULL, (wxClientData*)NULL, _T("invalid combobox") );
-
- wxNode *node = m_clientDataList.Nth( n );
- if (!node) return (wxClientData*) NULL;
-
- return (wxClientData*) node->Data();
-}