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

This commit is contained in:
wowzaman12 2015-03-28 13:43:40 +00:00
parent 13b97ac102
commit 535acbb240
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)
{