in reply to No wxTextCompleterSimple class?

use base 'Wx::wxTextCompleterSimple'; # these lines copied verbatim

Copied from where? Doesn't follow the naming convention ( Wx::TextCompleterSimple )

also, wxperl_usage and the sources doesn't show this class as wrapped, and the docs say its fairly cutting edge feature

also, wxperl_usage uses a diy "autocomplete" feature

also, wxperl_usage shows Usage: Wx::RichTextCtrl::AutoComplete(THIS, choices) and Usage: Wx::TextCtrlBase::AutoComplete(THIS, choices)

also, unrelated,  wxperl_demo --show wxPropertyGrid has autocomplete example buried

I like Wx :) Re: wxPerl: is BitmapFromImage implemented? (no;sleep;docs), my wxWidgets / wxPerl / wxGlade tutorial, http://www.wxperl.it/p/wxperl-primer.html , wxperl_usage / wxperl-usage / wxPerl::Usage / Class Method Browser , available methods, method invocation syntax, link to docs, Re^8: How to use wxHtmlEasyPrinting (On debugging, verify everything, talk to teddybear ... and links and links , Tutorials: Perl documentation documentation, Searching Perl Documentation

you don't need to build wx yourself, http://www.citrusperl.com/, http://ppm.wxperl.it/

What Do These Sizer Things Do?

Replies are listed 'Best First'.
Re^2: No wxTextCompleterSimple class? ( nope )
by einhverfr (Friar) on Nov 16, 2013 at 03:18 UTC

    Thanks, the lines were copied from my source code.

    What I was trying to find is where I was going wrong. It looks like my system has wxwidgets 2.8 which is the main source of the problem. Apparently it is a good idea to follow the same version of docs and code...

    I ended up switching for now from textboxes to comboboxes to try to implement my own autocomplete that way. However if I setfocus to the combobox, it selects the text which makes it very hard to change the combinations in it. Do you know of a good way to do autocomplete with wxPerl and wxwidgets 2.8?

    Edit: Never mind. I found that the issue was that the best thing to do was to avoid setting the value, and instead process the items on the list.