diff --git a/include/wx/msw/listctrl.h b/include/wx/msw/listctrl.h index 68c5c65f23..161284c25d 100644 --- a/include/wx/msw/listctrl.h +++ b/include/wx/msw/listctrl.h @@ -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; } diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 7ae8040aef..b76f41d04f 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -4201,7 +4201,7 @@ void wxGrid::GetDragGridWindows(int pos, if ( pos < lineEnd ) { firstGridWindow = m_frozenCornerGridWin; - secondGridWindow = oper.GetFrozenGrid(this);; + secondGridWindow = oper.GetFrozenGrid(this); } else { diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 53c0d8c3a0..c2a3ffe555 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -2335,6 +2335,7 @@ wxTextCtrl::MSWHandleMessage(WXLRESULT *rc, ::IsMenu(GetHmenuOf(wxCurrentPopupMenu)) ) ::SetCursor(GetHcursorOf(*wxSTANDARD_CURSOR)); } + break; #endif // wxUSE_MENUS case WM_PASTE: diff --git a/src/propgrid/property.cpp b/src/propgrid/property.cpp index 97a5aaad18..e615a9a9e3 100644 --- a/src/propgrid/property.cpp +++ b/src/propgrid/property.cpp @@ -2522,7 +2522,7 @@ wxPGProperty* wxPGProperty::GetPropertyByNameWH( const wxString& name, unsigned i++; if ( i == GetChildCount() ) i = 0; - }; + } return NULL; }