don't use implicit wxString->char*/wchar_t* conversion, it will not be available in wxUSE_STL build in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -275,7 +275,8 @@ bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title,
|
||||
radio_button_group = gtk_radio_button_get_group( GTK_RADIO_BUTTON(rbtn) );
|
||||
|
||||
label.Empty();
|
||||
for ( const wxChar *pc = choices[i]; *pc; pc++ )
|
||||
for ( wxString::const_iterator pc = choices[i].begin();
|
||||
pc != choices[i].end(); ++pc )
|
||||
{
|
||||
if ( *pc != wxT('&') )
|
||||
label += *pc;
|
||||
|
||||
Reference in New Issue
Block a user