Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: ouch on March 12, 2015, 04:10:08 am
-
Is it me or does it seem like the "Identifier" field is missing from sizers?
-
As fara as I know sizers do not have an ID.
At least there is no method documented to assign one.
Or did I oversee something.
-
Really? How do you grab a sizers handle from wxWidgets' XRC system if not?
Well a quick google later...:
Indeed, they do not have one, it seems you grab the handle like this:
FindWindow(XRCID("MY_PARENTWINDOW"))->GetSizer()
Seems a bit convoluted, but hey that's not wxSmiths fault. So never mind this thread... :P