"next" in wxWizardPage

Vadim Zeitlin vadim at wxwindows.org
Mon Nov 13 14:39:50 PST 2006


On Mon, 13 Nov 2006 17:32:08 -0500 Paul Koning <pkoning at equallogic.com> wrote:

PK> The GetNext method can't actually be changed to work as documented
PK> because then there is no way to get a Finish method.  I think what's
PK> really needed is a way to enable/disable the Next button
PK> independently. 

 So why not just do it? Don't return NULL from GetNext() and disable the
next button either explicitly or from EVT_UPDATE_UI handler. All you need
to know is that its id is wxID_FORWARD.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list