Fix sort function signature used by EDA_LIST_DIALOG.

This commit is contained in:
Simon Richter 2015-07-22 18:54:55 -04:00 committed by Wayne Stambaugh
parent 591f54f540
commit 068b1d035f
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ void EDA_LIST_DIALOG::onClose( wxCloseEvent& event )
/* Sort alphabetically, case insensitive.
*/
static int wxCALLBACK MyCompareFunction( long aItem1, long aItem2, long aSortData )
static int wxCALLBACK MyCompareFunction( wxIntPtr aItem1, wxIntPtr aItem2, wxIntPtr aSortData )
{
wxString* component1Name = (wxString*) aItem1;
wxString* component2Name = (wxString*) aItem2;