Create a GUI starting from c++ source code

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.
wxJack
Experienced Solver
Experienced Solver
Posts: 83
Joined: Wed Jun 20, 2018 8:06 am

Re: Create a GUI starting from c++ source code

Post by wxJack » Sun Jun 24, 2018 3:32 pm

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

User avatar
doublemax
Moderator
Moderator
Posts: 14171
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Create a GUI starting from c++ source code

Post by doublemax » Sun Jun 24, 2018 4:26 pm

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!

Post Reply