Index: ctlComboBox.cpp =================================================================== RCS file: /projects/pgadmin3/src/ui/ctlComboBox.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -Lsrc/ui/ctlComboBox.cpp -Lsrc/ui/ctlComboBox.cpp -u -w -r1.2 -r1.3 --- src/ui/ctlComboBox.cpp +++ src/ui/ctlComboBox.cpp @@ -48,7 +48,7 @@ int ctlComboBox::GetGuessedSelection() const { - int sel=wxChoice::GetSelection(); + int sel=wxComboBox::GetSelection(); if (sel < 0) sel = FindString(GetValue()); return sel; @@ -56,7 +56,7 @@ int ctlComboBox::GetSelection() const { - int sel=wxChoice::GetSelection(); + int sel=wxComboBox::GetSelection(); if (sel < 0) sel = FindString(GetValue()); return sel;