missed something that caused it to not properly load the xrc interface.
This commit is contained in:
parent
025e466bff
commit
843a90632f
|
@ -2289,7 +2289,7 @@ bool MainFrame::InitMore(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
//// File menu
|
//// File menu
|
||||||
LoadXRCDialog("GBAROMInfo");
|
d=LoadXRCDialog("GBAROMInfo");
|
||||||
// just verify fields present
|
// just verify fields present
|
||||||
wxControl *lab;
|
wxControl *lab;
|
||||||
#define getlab(n) lab=SafeXRCCTRL<wxControl>(d, n)
|
#define getlab(n) lab=SafeXRCCTRL<wxControl>(d, n)
|
||||||
|
@ -2587,6 +2587,7 @@ bool MainFrame::InitMore(void)
|
||||||
d->Connect(wxEVT_COMMAND_LIST_ITEM_SELECTED,
|
d->Connect(wxEVT_COMMAND_LIST_ITEM_SELECTED,
|
||||||
wxListEventHandler(CheatFind_t::Select),
|
wxListEventHandler(CheatFind_t::Select),
|
||||||
NULL, &cheat_find_handler);
|
NULL, &cheat_find_handler);
|
||||||
|
d->Fit();
|
||||||
}
|
}
|
||||||
|
|
||||||
d=LoadXRCDialog("CheatAdd");
|
d=LoadXRCDialog("CheatAdd");
|
||||||
|
|
Loading…
Reference in New Issue