how to change the style of any wxwidgets control?
Posted: Fri Jun 14, 2019 1:03 pm
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.
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.