in reply to Re: [fixed] Wx with XRC, get handle on objects
in thread [fixed] Wx with XRC, get handle on objects

Thanks for the input and the subclass info. How would you get a sizer?


While I ask a lot of Win32 questions, I hate Windows with a passion. That's the problem with writing a cross-platform program. I'm a Linux user myself. I wish more people were.
If you want to do evil, science provides the most powerful weapons to do evil; but equally, if you want to do good, science puts into your hands the most powerful tools to do so.
- Richard Dawkins
  • Comment on Re^2: [fixed] Wx with XRC, get handle on objects

Replies are listed 'Best First'.
Re^3: [fixed] Wx with XRC, get handle on objects
by VZ (Acolyte) on Jan 26, 2009 at 10:46 UTC
    You usually don't need to get sizers so there is no dedicated function for them. Instead you can use GetSizer() or GetContainingSizer() on a window containing/contained in the sizer you need after finding it using its id as per above.

      Hmm. I see.. and probably agree. I guess it'd be hard to get a sizer that contains only sizers? I don't think I'd ever need to, but who knows. If there's an easy answer, I'd love to know. If not, don't worry about it. it's not that important or useful to me. Thanks for the input.


      While I ask a lot of Win32 questions, I hate Windows with a passion. That's the problem with writing a cross-platform program. I'm a Linux user myself. I wish more people were.
      If you want to do evil, science provides the most powerful weapons to do evil; but equally, if you want to do good, science puts into your hands the most powerful tools to do so.
      - Richard Dawkins