Author Topic: Autocode generator replace all of my written code  (Read 1770 times)

Offline crackerizer

  • Single posting newcomer
  • *
  • Posts: 5
Autocode generator replace all of my written code
« on: July 29, 2007, 10:38:23 am »
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.

Offline raph

  • Almost regular
  • **
  • Posts: 242
Re: Autocode generator replace all of my written code
« Reply #1 on: July 29, 2007, 10:53:16 am »
wxSmith will generate it's code between the
Code: [Select]
//(*What(YourClass)
//*)
markers.
For example initializing code will go between
Code: [Select]
//(*Initialize(YourClass)
//*)
You have to write your code outside of these markers or wxSmith will overwrite it.

Offline crackerizer

  • Single posting newcomer
  • *
  • Posts: 5
Re: Autocode generator replace all of my written code
« Reply #2 on: July 29, 2007, 10:55:42 am »
raph, thank you very much. I'll move my code out of those scope.  :D