Change a macro from using a special wx funciton to the regular c++ one

More work on fixing Bug #5
This commit is contained in:
Arthur Moore 2015-01-11 02:17:41 -05:00
parent 14febfd022
commit 7666396b5f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ extern "C" {
#include "../gba/agbprint.h"
#define GetXRCDialog(n) \
wxStaticCast(FindWindow(XRCID(n)), wxDialog)
dynamic_cast<wxDialog*>(FindWindow(XRCID(n)))
bool cmditem_lt(const struct cmditem &cmd1, const struct cmditem &cmd2)
{