mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix the panic alert hack for windows and osx. The macro needed to be defined after HAVE_WX is defined. That explains why windows accepted the string concatenation that I thought it wouldn't.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6829 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -122,14 +122,6 @@ inline T max(const T& a, const T& b) {return a > b ? a : b;}
|
||||
// Defined in Misc.cpp.
|
||||
const char* GetLastErrorMsg();
|
||||
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
// This should be used to mark c strings as translatable in PanicAlerts but only in
|
||||
// wxWidgets portions of the code.
|
||||
#define _wxt(a) (std::string(wxString(wxGetTranslation(wxT(a))).To8BitData()).c_str())
|
||||
#else
|
||||
#define _wxt(a) a
|
||||
#endif
|
||||
|
||||
namespace Common
|
||||
{
|
||||
inline u8 swap8(u8 _data) {return _data;}
|
||||
|
Reference in New Issue
Block a user