slot difficulties

I'm having a bit of trouble with slots. I created a ComboWCB class with
a member function called Callback. This class is derived from the Combo
class. I then write:

ComboWCB *NewCombo = manage(new ComboWCB);
NewCombo->get_popwin()->unmap_event.connect( slot(NewCombo,
&ComboWCB::Callback) );

I get an error on the last line. The compiler complains that there is no
matching function.

Does anyone know what I am doing wrong?

Thanks for the help.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]