addEventListener question...

Artic_Ice83

11-01-2008 19:42:35

Hi! i have a question about this function: how can i use it?
if i try this code , gives me a compile error...


tb1->addEventListener(SimpleGUIDemoApp::textBoxListener());


gives me an error also if i pass to my function "const QuickGUI::EventArgs &args" (with or without the const) or if i pass to the event listener the "&SimpleGUIDemoApp::textBoxListener()"...

kungfoomasta

11-01-2008 19:53:46

Not sure. I'll run this at home and fix it, its probably a simple fix. I'll post when its fixed.

kungfoomasta

12-01-2008 17:48:29

Its fixed in my code, I'll commit to SVN after a few more items..

Artic_Ice83

12-01-2008 23:52:20

ok.thanks for the quick fix! :D