missed something that caused it to not properly load the xrc interface.

This commit is contained in:
wowzaman12 2015-03-28 16:15:25 +00:00
parent 025e466bff
commit 843a90632f
1 changed files with 12 additions and 11 deletions

View File

@ -2289,7 +2289,7 @@ bool MainFrame::InitMore(void)
}
//// File menu
LoadXRCDialog("GBAROMInfo");
d=LoadXRCDialog("GBAROMInfo");
// just verify fields present
wxControl *lab;
#define getlab(n) lab=SafeXRCCTRL<wxControl>(d, n)
@ -2587,6 +2587,7 @@ bool MainFrame::InitMore(void)
d->Connect(wxEVT_COMMAND_LIST_ITEM_SELECTED,
wxListEventHandler(CheatFind_t::Select),
NULL, &cheat_find_handler);
d->Fit();
}
d=LoadXRCDialog("CheatAdd");