User forums > General (but related to Code::Blocks)

Autocode generator replace all of my written code

(1/1)

crackerizer:
Hello all,
I'm new to CB and trying to use it as my IDE for a new project. But i have a problem.
Everytime i add a frame or a panel with wxsmith(or trying to change a frame's property). The codes i wrote are gone!
Is this a bug or it's normal?  :?

Thank you.

raph:
wxSmith will generate it's code between the

--- Code: ---//(*What(YourClass)
//*)

--- End code ---
markers.
For example initializing code will go between

--- Code: ---//(*Initialize(YourClass)
//*)
--- End code ---
You have to write your code outside of these markers or wxSmith will overwrite it.

crackerizer:
raph, thank you very much. I'll move my code out of those scope.  :D

Navigation

[0] Message Index

Go to full version