void frmSearch::ShowContactMenu( wxMouseEvent& event ){
- ContactMenu->SetupPointers(this, lstResults);
+ // Show the contact menu.
+
+ ContactMenu->SetupPointersSearch(this, lstResults, SearchMode);
PopupMenu(ContactMenu->MenuPointer(), wxDefaultPosition);