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.
how to change the style of any wxwidgets control?
-
- CodeLite Enthusiast
- Posts: 18
- Joined: Thu Oct 25, 2018 1:02 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: how to change the style of any wxwidgets control?
Make sure you have read the HOW TO POST thread