Problem with Navigation command

Vadim Zeitlin vadim at wxwidgets.org
Thu Aug 2 19:06:02 PDT 2007


On Thu, 2 Aug 2007 15:28:36 -0600 "Hofer, Greg" <Greg.Hofer at gdcanada.com> wrote:

HG> void MPAStextCtrl::onEnter(wxCommandEvent& event)
HG> {
HG>   printf ("enter key\n");
HG>   Navigate();
HG> }

 I don't really know what's going on in your code but I notice that you
appear to call Navigate() on text control itself which doesn't make sense:
it should be called on the parent window (the one containing all controls).

 Regards,
VZ

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





More information about the wx-users mailing list