avoid GCC warning "suggest braces around empty body in an ‘else’ statement"

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2011-04-06 17:03:31 +00:00
parent 628e8d444c
commit 4c2ea5999b
2 changed files with 4 additions and 0 deletions

View File

@@ -418,7 +418,9 @@ bool wxNotebook::InsertPage( size_t position,
pageData->m_image, false, false, m_padding);
}
else
{
wxFAIL_MSG("invalid notebook imagelist");
}
}
/* set the label text */