Author Topic: wxSmith help  (Read 4012 times)

Offline PsYhLo

  • Almost regular
  • **
  • Posts: 157
wxSmith help
« 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]

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: wxSmith help
« Reply #1 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

Offline cyberkoa

  • Plugin developer
  • Almost regular
  • ****
  • Posts: 145
    • http://
Re: wxSmith help
« Reply #2 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.

Offline PsYhLo

  • Almost regular
  • **
  • Posts: 157
Re: wxSmith help
« Reply #3 on: March 31, 2006, 08:33:58 pm »
yes this is it thanks
this fix the problem and seems to work fine

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: wxSmith help
« Reply #4 on: April 02, 2006, 11:30:09 pm »
Whoops, that was really my mistake  :oops:  sorry for that problems and thx for the solution :)