Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: samsam598 on August 13, 2009, 09:45:31 am

Title: Incomplete Window Style in wxSmith
Post by: samsam598 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
Title: Re: Incomplete Window Style in wxSmith
Post by: GeO on August 13, 2009, 11:49:22 am
Just add
Code
Maximize();
in the Extra Code field.
Title: Re: Incomplete Window Style in wxSmith
Post by: samsam598 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