"next" in wxWizardPage

Paul Koning pkoning at equallogic.com
Mon Nov 13 14:48: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.

I'll try that.  It sure is a lot more cryptic than a simple method to
do the job directly.

To make it more interesting, I'm actually doing this via wxPython, but
with any luck that won't get in the way.

     paul





More information about the wx-users mailing list