User forums > Using Code::Blocks

Incomplete Window Style in wxSmith

(1/1)

samsam598:
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

GeO:
Just add
--- Code: ---Maximize();
--- End code ---
in the Extra Code field.

samsam598:

--- Quote from: GeO on August 13, 2009, 11:49:22 am ---Just add
--- Code: ---Maximize();
--- End code ---
in the Extra Code field.

--- End quote ---

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

Regards,
Sam

Navigation

[0] Message Index

Go to full version