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.
- Experienced Solver
- Posts: 83
- Joined: Wed Jun 20, 2018 8:06 am
thanks again, cause your support is very helpful to me
I tried adding what you told me but it's like the line
Code: Select all
wxLogMessage("firstValue = %d", firstValue);
does not exist :/ (no message appears).
I think because it(=this line I added, together with " x = firstValue;") exists inside some if-else statements, which somehow work outside the button (when they are in the main, without
the gui) but not inside
- Posts: 14887
- Joined: Fri Apr 21, 2006 8:03 pm
- Location: $FCE2
At least that explains why "x" doesn't change its value.
In that case you'll have to post the whole code. My mind reading skills are limited
Use the source, Luke!