Hello, quickie Q here just to avoid going down a wrong path. Hope I didn’t miss something when searching!
I’m calling MenuBarModel::setMacMainMenu() in the constructor of my DocumentWindow, and I get an immediate crash. The debugger gets a little confused around here, but it appears that deeper down, we’re touching an uninitialized Array… but all my classes appear to be finished their construction and initialization…
Before I dig further, might I ask if calling MenuBarModel::setMacMainMenu() in the constructor is too early, and if so, what’s the best way to do it? Or it’s very useful just to know that I should be able to do it, so I can gird my loins and get dirty with the debugger.
Thanks in advance!