fix warning about missing return statement, closes #13713

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2011-12-01 16:54:21 +00:00
parent b450f37eba
commit 71929371c2

View File

@@ -1664,8 +1664,9 @@ wxSize wxAuiToolBar::GetHintSize(int dock_direction) const
case wxAUI_DOCK_LEFT:
return m_vertHintSize;
default:
wxCHECK_MSG(false, wxDefaultSize, "invalid dock location value");
wxFAIL_MSG("invalid dock location value");
}
return wxDefaultSize;
}
bool wxAuiToolBar::IsPaneValid(const wxAuiPaneInfo& pane) const