mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 19:19:03 +00:00
Attempt to be consistent with conversions between std::string and wxString.
This commit is contained in:
parent
e82d976d2f
commit
56f09d3b91
39 changed files with 344 additions and 300 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue