Author Topic: Incomplete Window Style in wxSmith  (Read 4035 times)

Offline samsam598

  • Multiple posting newcomer
  • *
  • Posts: 15
Incomplete Window Style in wxSmith
« on: August 13, 2009, 09:45:31 am »
I have searched in this forum regarding my question but no found,apologies if I missed something.

In wxSmith the wxFrame Window style does not include wxMAXIMIZE and wxMINIMIZE,this causes a problem.If I want my main window show maximize at start up,I have to add this extra style (wxMAXIMIZE) everytime between 2  build process of my app becoz the wxSmith overwrites my addin.

Anybody here met the same problem before?Any idea to cope with?

Thanks in advance.

Regards,
Sam
« Last Edit: August 13, 2009, 09:49:27 am by samsam598 »

Offline GeO

  • Multiple posting newcomer
  • *
  • Posts: 51
Re: Incomplete Window Style in wxSmith
« Reply #1 on: August 13, 2009, 11:49:22 am »
Just add
Code
Maximize();
in the Extra Code field.

Offline samsam598

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Incomplete Window Style in wxSmith
« Reply #2 on: August 14, 2009, 04:50:19 am »
Just add
Code
Maximize();
in the Extra Code field.

Great! It works!!
Thank you so much!!

Regards,
Sam