in reply to Re: "Cast" a wxString to Numeric?
in thread "Cast" a wxString to Numeric?

Thanks, I'll give it a look. The response from Corion showed me that the warning message was telling me something different than I had assumed. Yes, wxString is from the wxWidgets docs.

James

There's never enough time to do it right, but always enough time to do it over...

Replies are listed 'Best First'.
Re^3: "Cast" a wxString to Numeric?
by jmlynesjr (Deacon) on May 07, 2015 at 19:43 UTC

    To close the loop, wxSpinCtrl was the better solution as it eliminates the possibility of a divide by zero caused by an empty/completely erased field.

    James

    There's never enough time to do it right, but always enough time to do it over...