Had a quick look at your code. Correct me if I'm wrong, but function members can only point to function members of the same base class or the same concrete class, and minimize and titlebar are different concrete classes, therefore this is invalid as minimize and titlebar point to different classes.
Quote:
|
minimize->onClickEventHandler = &TitleBar::minimizeWindow;
|