Ok, the ControlCommand gets initialized from here:

LyXView::LyXView()
        : controlcommand_(new ControlCommandBuffer(getLyXFunc())),
          intl_(new Intl),
          autosave_timeout_(new Timeout(5000)),
          lyxfunc_(new LyXFunc(this)),
          dialogs_(new Dialogs(this))
{
        lyxerr[Debug::INIT] << "Initializing LyXFunc" << endl;
}

now as controlcommand_ is declared before lyxfunc_ in the class definition
it will get initialized first (the order in the constructor does not
matter!).

As we don't have a lyxfunc_ yet -> peng.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to