adding conversion for stl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
be85a191e1
commit
31ba1c7e33
@ -147,7 +147,7 @@ void wxSetFromString(const wxString &s, wxBitset<e> &data )
|
||||
{
|
||||
flag = array[i];
|
||||
int ivalue;
|
||||
if ( edata->HasEnumMemberValue( flag, &ivalue ) )
|
||||
if ( edata->HasEnumMemberValue( flag.c_str(), &ivalue ) )
|
||||
{
|
||||
data.set( (e) ivalue );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user