Your error is caused by calling the constructor, so you need to provide the line where you call the constructor of popup, probably along with the definition of "Widget". Otherwise we cannot help. Btw. your function-pointer has no name...
Btw. this question would have been more appropriate in a C++ forum..
Bookmarks