Hello, I am having a problem with some functions in handle events function.
I have a inhereted class myWindow
class myWindow : public FL_GL_Window
{
public:
classA* pointerToClassA;

classA* functionReturningPtr();

int handle(int)
}

and in the implementation i have something like this:

int handle(int event)
..
case RELEASE:
   pointerToClassA = functionReturningPtr();

But when I do this call, the pointer still remains null.
I don't know why it is not working.
Thank you for your reply.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to