"next" in wxWizardPage

Paul Koning pkoning at equallogic.com
Tue Nov 14 16:32:18 PST 2006


>>>>> "Vadim" == Vadim Zeitlin <vadim at wxwindows.org> writes:

 Vadim> On Mon, 13 Nov 2006 17:32:08 -0500 Paul Koning
 Vadim> <pkoning at equallogic.com> wrote:
 PK> The GetNext method can't actually be changed to work as
 PK> documented because then there is no way to get a Finish method.
 PK> I think what's really needed is a way to enable/disable the Next
 PK> button independently.

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

That works nicely.  It also works for the other buttons I wanted to
control -- wxID_HELP, wxID_CANCEL.

Thanks VZ.

       paul





More information about the wx-users mailing list