Fix sort function signature used by EDA_LIST_DIALOG.
This commit is contained in:
parent
591f54f540
commit
068b1d035f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue