Fix build breaking typo in wxDataViewCtrl accessibility code
Dereference the pointer before casting it to unsigned int.
This commit is contained in:
parent
30a71c39f5
commit
068e0f6ec4
@ -6365,7 +6365,7 @@ wxAccStatus wxDataViewCtrlAccessible::GetFocus(int* childId, wxAccessible** chil
|
||||
wxDataViewMainWindow* dvWnd = wxDynamicCast(dvCtrl->GetMainWindow(), wxDataViewMainWindow);
|
||||
|
||||
const unsigned int row = dvWnd->GetCurrentRow();
|
||||
if ( row != (unsigned int)childId-1 )
|
||||
if ( row != (unsigned int)*childId-1 )
|
||||
{
|
||||
*childId = row+1;
|
||||
*child = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user