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,