If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
4 posts • Page 1 of 1
I want to call a function when I presses enter in the textcrtl, there should be a function called "onenterpress...", but I can't find this function. Can anyone teach me how to do it?
Thanks for replying. I read the class reference and it's helpful. I solve the problem by connecting the function and the event, that is what the handling means right?New Pagodi wrote:Create the control with a style including wxTE_PROCESS_ENTER and then handle the wxEVT_TEXT_ENTER event.