Comment 7 for bug 1818930

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I spent over half day trying to figure this out and I think I know what is going on. If the combobox type wxCB_READONLY and the units static text controls are removed the mnemonics work as expected. In order to resolve this issue, I had to move all of the edit controls and their associated mnemonic static text controls before all of the read only comboboxes and units static text controls and it seems to work as expected (at least on linux). This doesn't change the position of the controls in the sizer. It only changes the order in which objects are added to the sizer which appears to be the correct solution. I'm guessing there are a lot of other dialogs with broken mnemonic dialog behavior.