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.
Hi, I created a separate window and I want to connect it to a widget on another window. I used the bind function and included the header files but when I run the file "uninitialized local variable" error appeared. What did I do wrong?
This may not be enough code to look at so here is the git link too, the cpp files I am referring to are selectslidercontrol and mysingleslider (line 143).
alys666 wrote: ↑Tue Aug 13, 2019 4:09 pm
you just declared "checkslider", but not assigned any value to it. and later use it as something assigned.
for example if you declared:
int my_burth_date;
how your real birth date was assigned to it?
The checkslider object has dynamically changing values based on what the user check marks on that window. If the user checks slide 1 then the value of checkslider would be one. Did I call or bind it incorrectly?
alys666 wrote: ↑Tue Aug 13, 2019 4:38 pm
where you created this object? you just declared pointer to this object, not created object itself.
whre is something like -
Here is how I binded the function to the code in selectslidercontrol and in mysingle slider I used #include "selectslidercontrol" did I do enough to link the two cpp files together?