Fix signed/unsigned comparison warning in wxAuiMDIClientWindow
This was introduced in c2fcc14bac
, see
https://github.com/wxWidgets/wxWidgets/pull/802
This commit is contained in:
parent
f53923dd31
commit
67cb0ad260
@ -820,7 +820,7 @@ int wxAuiMDIClientWindow::SetSelection(size_t nPage)
|
||||
wxAuiMDIChildFrame* wxAuiMDIClientWindow::GetActiveChild()
|
||||
{
|
||||
const int sel = GetSelection();
|
||||
if ( sel == wxNOT_FOUND || sel >= GetPageCount() )
|
||||
if ( sel == wxNOT_FOUND || sel >= (int)GetPageCount() )
|
||||
return NULL;
|
||||
|
||||
return wxStaticCast(GetPage(sel), wxAuiMDIChildFrame);
|
||||
|
Loading…
Reference in New Issue
Block a user