I use Code::Block and wxWidgets C++.
When I add some my own codes at FrameMain.cpp in Constructor, such as:
StatusBar1->SetStatusText(wxT("Hello everybody."), 1);
(https://i.imgsafe.org/f47a77a.png)
I click save button. Then I go to FrameMain.wxs to change style:
(https://i.imgsafe.org/f2a7a05.png)
and click save button. But, then I go back to FrameMain.cpp, my own codes is disapeared.
(https://i.imgsafe.org/7f01578.png)
How can I fix this? Thank you,
don't write your code inside the
//*(
//*)
markings anywhere.
wxSmith will delete all code written inside these. Write your code at the outside and you will be fine
PS. Don't post images of your code, but copy and paste it inside code tags (the# symbol)
greetings