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.


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to