[wxMac] wxComboBox::GetInsertionPoint() broken?
require($_SERVER['DOCUMENT_ROOT']."/includes/top_config.php");
?>
[wxMac] wxComboBox::GetInsertionPoint() broken?
Hi Stefan,
I think I found a bug in wxMac that is preventing the combo box auto
complete code in pgAdmin from working. It appears that
wxComboBox::GetInsertionPoint() always returns 0 :-(.
I've proven this in 2.7.0 by appropriately modifying the controls sample
with the following function:
void MyPanel::OnComboTextChanged(wxCommandEvent& event)
{
if (m_combo)
wxLogMessage(wxT("EVT_TEXT for the combobox: \"%s\" (event) or
\"%s\" (control). Insertion point: %d"),
event.GetString().c_str(),
m_combo->GetValue().c_str(),
m_combo->GetInsertionPoint());
}
It also appears to affect 2.6.3 as we see the same bug in pgAdmin 1.4.3.
Regards, Dave.
Home |
Main Index |
Thread Index