User forums => Help => Topic started by: MegAmaNeo on September 19, 2020, 08:41:55 pm
Title: WxWidgets C++ - Print out text in a static textbox
Post by: MegAmaNeo on September 19, 2020, 08:41:55 pm
Hello,
I am writing a WxWidget C++ program where I have a button and a static textbox. My intention is that after clicking the button, a text is printed out in the static box. Although I am new to C++ and not (yet!) familiar with the concept of pointers, I read that a quick implementation might be to declare the following to lines inside the event function of the button:
Unfortunately this doesn't work. Do you know if there is a quick implementation? I pasted you the code below and attached a photo of the properties of the static textbox: