News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Additional code is disapeared when I come back to Frame.wxs

Started by wnap, April 26, 2016, 01:17:35 PM

Previous topic - Next topic

wnap

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);



I click save button. Then I go to FrameMain.wxs to change style:



and click save button. But, then I go back to FrameMain.cpp, my own codes is disapeared.



How can I fix this? Thank you,

BlueHazzard

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