I haven't been exposed to this before, but I have a need to be able to (using code::blocks and wxwidgets 2.8.11 by the way):
Have the main frame showing.
Display a second dialog wndow appear on top with some text.
Periodically change the text in the second window from actions behind
the scenes in functions that are running within the first frame class.
I've got the second window with text to appear on top of the first and
everything with some default text in a little sample program but I'm
not sure of the syntax to use when trying to change the StaticText
value in the second from the first somewhere.
So I just put in a timer in the first frame and when it stopped, I
tried changing the second window StaticText1 value but I get a compiler
error:
"24 : Object missing in reference to StartUpDialog::StaticText1"
Obviously I'm not understanding the syntax of implementing this
correctly, so I'm hoping a patient person out there can help (probably
Vadim as he's been patient with everyone so far lol).
Below is partial code from the second frame header file.
class StartupDialog: public wxDialog
{
public:
StartupDialog(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint&
pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
virtual ~StartupDialog();
Here's some code from the button click on the first frame
that I click when I want the second frame window to be created and
shown, plus enabling the timer I mentioned.