View Single Post
  #2 (permalink)  
Old 10-23-2007, 02:40 AM
limo limo is offline
Newbie
 
Join Date: Oct 2007
Location: Australia
Posts: 14
Rep Power: 0
limo is on a distinguished road
Default

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;
Reply With Quote