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:
@@ -1664,8 +1664,9 @@ wxSize wxAuiToolBar::GetHintSize(int dock_direction) const
|
|||||||
case wxAUI_DOCK_LEFT:
|
case wxAUI_DOCK_LEFT:
|
||||||
return m_vertHintSize;
|
return m_vertHintSize;
|
||||||
default:
|
default:
|
||||||
wxCHECK_MSG(false, wxDefaultSize, "invalid dock location value");
|
wxFAIL_MSG("invalid dock location value");
|
||||||
}
|
}
|
||||||
|
return wxDefaultSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxAuiToolBar::IsPaneValid(const wxAuiPaneInfo& pane) const
|
bool wxAuiToolBar::IsPaneValid(const wxAuiPaneInfo& pane) const
|
||||||
|
Reference in New Issue
Block a user