Code::Blocks Forums

User forums => Help => Topic started by: PsYhLo on March 25, 2006, 05:29:59 pm

Title: wxSmith help
Post by: PsYhLo on March 25, 2006, 05:29:59 pm
so my question is there some way i can dock the statusbar when i resize the application

i attach sample pic to show what that i mean

sorry for my poor english

[attachment deleted by admin]
Title: Re: wxSmith help
Post by: byo on March 25, 2006, 11:09:11 pm
I know this bug but haven't focused on it lately. It may be just wxWidgest bug, but I can not prove it ;). Maybe try doing something with SetAutoLayout function
Title: Re: wxSmith help
Post by: cyberkoa on March 31, 2006, 08:21:45 pm
PsYhLo, it should be the wxSmith template problem ,

    try to change the line "new wxStatusBar(this,-1)"  to

   SetStatusBar(new wxStatusBar(this,-1));


Let me know if this solve your problem , I face this problem and solve it this way.

I shall update the template in the SVN then.
Title: Re: wxSmith help
Post by: PsYhLo on March 31, 2006, 08:33:58 pm
yes this is it thanks
this fix the problem and seems to work fine
Title: Re: wxSmith help
Post by: byo on April 02, 2006, 11:30:09 pm
Whoops, that was really my mistake  :oops:  sorry for that problems and thx for the solution :)