Fixed warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -619,7 +619,7 @@ void wxMenuBar::EnableTop(size_t pos, bool enable)
|
||||
|
||||
bool wxMenuBar::Enable( bool enable)
|
||||
{
|
||||
wxCHECK_RET( IsAttached(), wxT("doesn't work with unattached menubars") );
|
||||
wxCHECK_MSG( IsAttached(), false, wxT("doesn't work with unattached menubars") );
|
||||
size_t i;
|
||||
for (i = 0; i < GetMenuCount(); i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user