Attempt to be consistent with conversions between std::string and wxString.

This commit is contained in:
Jordan Woyak
2013-02-27 22:37:38 -06:00
parent e82d976d2f
commit 56f09d3b91
39 changed files with 344 additions and 300 deletions

View File

@ -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