Page 1 of 1

how to change the style of any wxwidgets control?

Posted: Fri Jun 14, 2019 1:03 pm
by happythings
This is not a question about codelite, but a question about wxwdigets.
I can set the wxCB_DROPDOWN style to an wxComboBox object wxComboBox* myCombo,
but if I want to change the style using myCombo->SetWindowStyle(myCombo->GetWindowStyle()|wxCB_DROPDOWN ), it will not take effect even if GetWindowStyle() return the changed style. This seems a fool question, but it's a real question for me, and can not search valuable information on the internet, so help me please! I want to know how to change the widget style when I want to.
thank you very much.

Re: how to change the style of any wxwidgets control?

Posted: Sat Jun 15, 2019 6:58 pm
by eranif
the forum you are seeking is here:

https://forums.wxwidgets.org