It was excellent for the use of wrapView just instantiate the class when
necessary (for example, along with Wmenu & WStackedWidget).

WWidget *MenuTop::wrapView(WWidget *(MenuTop::*createWidget)()) {
  return makeStaticModel(boost::bind(createWidget, this));
}

The problem is that the object becomes static and the use WFileUpload
(uploadButton->clicked().connect(upload_, &WFileUpload::upload)) does
not work.

Could use wrapView, but without creating static objects?

Regards,
John


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to