mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
WxUtils: add WxStrToUL
This commit is contained in:
@ -531,3 +531,10 @@ wxString StrToWxStr(const std::string& str)
|
||||
// return wxString::FromUTF8Unchecked(str.c_str());
|
||||
return wxString::FromUTF8(str.c_str());
|
||||
}
|
||||
|
||||
unsigned long WxStrToUL(const wxString& str)
|
||||
{
|
||||
unsigned long value = 0;
|
||||
str.ToULong(&value);
|
||||
return value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user