From 31ba1c7e3373cba0f9c6df603bff84958226a106 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 18 Jan 2012 14:05:39 +0000 Subject: [PATCH] adding conversion for stl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/xtitypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/xtitypes.h b/include/wx/xtitypes.h index 295a87656e..b08b262367 100644 --- a/include/wx/xtitypes.h +++ b/include/wx/xtitypes.h @@ -147,7 +147,7 @@ void wxSetFromString(const wxString &s, wxBitset &data ) { flag = array[i]; int ivalue; - if ( edata->HasEnumMemberValue( flag, &ivalue ) ) + if ( edata->HasEnumMemberValue( flag.c_str(), &ivalue ) ) { data.set( (e) ivalue ); }