diff --git a/src/gtk/choice.cpp b/src/gtk/choice.cpp index 6d72df1233..d4bcff0b9e 100644 --- a/src/gtk/choice.cpp +++ b/src/gtk/choice.cpp @@ -346,7 +346,7 @@ int wxChoice::GetSelection() const #endif } -void wxChoice::SetString( int WXUNUSED(n), const wxString& WXUNUSED(string) ) +void wxChoice::SetString( int n, const wxString& str ) { wxCHECK_RET( m_widget != NULL, wxT("invalid choice") ); diff --git a/src/gtk1/choice.cpp b/src/gtk1/choice.cpp index 6d72df1233..d4bcff0b9e 100644 --- a/src/gtk1/choice.cpp +++ b/src/gtk1/choice.cpp @@ -346,7 +346,7 @@ int wxChoice::GetSelection() const #endif } -void wxChoice::SetString( int WXUNUSED(n), const wxString& WXUNUSED(string) ) +void wxChoice::SetString( int n, const wxString& str ) { wxCHECK_RET( m_widget != NULL, wxT("invalid choice") );