mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Attempt to be consistent with conversions between std::string and wxString.
This commit is contained in:
@ -18,7 +18,11 @@
|
||||
#ifndef WXUTILS_H
|
||||
#define WXUTILS_H
|
||||
|
||||
namespace WxUtils {
|
||||
#include <string>
|
||||
#include <wx/string.h>
|
||||
|
||||
namespace WxUtils
|
||||
{
|
||||
|
||||
// Launch a file according to its mime type
|
||||
void Launch(const char *filename);
|
||||
@ -28,4 +32,7 @@ void Explore(const char *path);
|
||||
|
||||
} // namespace
|
||||
|
||||
std::string WxStrToStr(const wxString& str);
|
||||
wxString StrToWxStr(const std::string& str);
|
||||
|
||||
#endif // WXUTILS
|
||||
|
Reference in New Issue
Block a user