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

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1270 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
wowzaman12 2015-03-28 13:43:40 +00:00
parent 4a8749e649
commit 4894d16219
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)
{