Search found 4 matches

by r4nd0m6uy
Mon Oct 08, 2018 2:36 pm
Forum: C++ Development
Topic: Number as text input
Replies: 4
Views: 18110

Re: Number as text input

Great, I was surprised that it didn't exist!

Is there a page with a collection of all widgets, so I don't need to ask?
by r4nd0m6uy
Mon Oct 08, 2018 1:28 pm
Forum: C++ Development
Topic: Number as text input
Replies: 4
Views: 18110

Number as text input

Is there any component that permits having a number input like a text fiel, with min/max and two buttons to increase or decrease the value? I have a naive implementatiion with a wxTextCtrl but doesn't work as expected ... Any recommendation or should I write my own?
by r4nd0m6uy
Wed Oct 03, 2018 2:47 pm
Forum: C++ Development
Topic: The mystery behing events!
Replies: 2
Views: 638

Re: The mystery behing events!

What am I doing wrong? What am I missing? The signature of OnVolumeChanged is wrong. As stated in the documentation, wxEVT_SLIDER sends a wxCommandEvent, not a wxScrollEvent. Ha OK you found it! I should read the doc more carefuly: Process wxEVT_SLIDER which is generated after any change of wxSlide...
by r4nd0m6uy
Wed Oct 03, 2018 12:46 pm
Forum: C++ Development
Topic: The mystery behing events!
Replies: 2
Views: 638

The mystery behing events!

Hallo Zaeme, I'm brand fresh in the wxwidgets and decided to give a try to a new project. However, I have some difficulties about understanding how events work due to its may way of doing the same thing. I would like to stick to "Bind" as suggested here: https://docs.wxwidgets.org/3.1/over...