Resolve some recently introduced warnings

This commit is contained in:
Maarten Bent 2019-10-13 12:30:58 +02:00 committed by paulcor
parent 127ec4dd7f
commit 05e0fad687
4 changed files with 5 additions and 4 deletions

View File

@ -363,8 +363,8 @@ public:
// Override SetDoubleBuffered() to do nothing, its implementation in the
// base class is incompatible with the double buffering done by this native
// control.
virtual bool IsDoubleBuffered() const;
virtual void SetDoubleBuffered(bool on);
virtual bool IsDoubleBuffered() const wxOVERRIDE;
virtual void SetDoubleBuffered(bool on) wxOVERRIDE;
virtual bool ShouldInheritColours() const wxOVERRIDE { return false; }

View File

@ -4201,7 +4201,7 @@ void wxGrid::GetDragGridWindows(int pos,
if ( pos < lineEnd )
{
firstGridWindow = m_frozenCornerGridWin;
secondGridWindow = oper.GetFrozenGrid(this);;
secondGridWindow = oper.GetFrozenGrid(this);
}
else
{

View File

@ -2335,6 +2335,7 @@ wxTextCtrl::MSWHandleMessage(WXLRESULT *rc,
::IsMenu(GetHmenuOf(wxCurrentPopupMenu)) )
::SetCursor(GetHcursorOf(*wxSTANDARD_CURSOR));
}
break;
#endif // wxUSE_MENUS
case WM_PASTE:

View File

@ -2522,7 +2522,7 @@ wxPGProperty* wxPGProperty::GetPropertyByNameWH( const wxString& name, unsigned
i++;
if ( i == GetChildCount() )
i = 0;
};
}
return NULL;
}