Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Fixed GetSelectedItem subroutine for getting the selected data value.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Tue, 4 Aug 2015 21:29:59 +0000 (22:29 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Tue, 4 Aug 2015 21:29:59 +0000 (22:29 +0100)
source/contacteditor/frmContactEditor.cpp

index 0ce77e1..34711b0 100644 (file)
@@ -6621,6 +6621,8 @@ bool frmContactEditor::GetSelectedItem(wxListCtrl *ListCtrlPtr,
                                              wxLIST_NEXT_ALL,
                                              wxLIST_STATE_SELECTED);
     
+    *intSelectedData = (int)ListCtrlPtr->GetItemData(*longSelected);
+    
     if (*longSelected == -1){
         return FALSE;
     }
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy