Use wxFALLTHROUGH

This commit is contained in:
Paul Cornett
2017-10-17 09:21:45 -07:00
parent 4ec80a35f9
commit ed8a541463
5 changed files with 6 additions and 2 deletions

View File

@@ -872,6 +872,7 @@ void wxRichTextCtrl::OnMoveMouse(wxMouseEvent& event)
case wxDragError:
wxLogError(wxT("An error occurred during drag and drop operation"));
wxFALLTHROUGH;
case wxDragNone:
case wxDragCancel:
Refresh(); // This is needed in wxMSW, otherwise resetting the position doesn't 'take'