For example I have a dialog that allows the user to enter their "profile" name, address, city, state, zip etc...
Code: Select all
_statePrimary = new wxComboBox(_addrPanelPrimary, ID__STATEPRIMARY, wxT(""),wxPoint(186,63), wxSize(50,25),0,NULL,wxCB_SORT|wxCB_READONLY); //This utility method populates the combobox with a list of states populateStateList((wxControlWithItems*)_statePrimary);
First attempted workaround
I then thought that maybe the problem is that I have created the combobox with the read-only flag. So I removed it, recompiled and no change.
Here's what I'm using:
wxMAC version 2.6.1 compiled in release mode
OS X Tiger 10.4.2
XCode 2.1 w/ GCC 4.0