#pragma hdrstop
#endif
-#include "wx/ribbon/buttonbar.h"
-
#if wxUSE_RIBBON
+#include "wx/ribbon/buttonbar.h"
#include "wx/ribbon/art.h"
#include "wx/dcbuffer.h"
WX_DECLARE_OBJARRAY(wxRibbonButtonBarButtonInstance, wxArrayRibbonButtonBarButtonInstance);
#include "wx/arrimpl.cpp"
-WX_DEFINE_OBJARRAY(wxArrayRibbonButtonBarButtonInstance);
+WX_DEFINE_OBJARRAY(wxArrayRibbonButtonBarButtonInstance)
class wxRibbonButtonBarLayout
{
m_lock_active_state = false;
SetBackgroundStyle(wxBG_STYLE_CUSTOM);
-};
+}
wxSize wxRibbonButtonBar::GetMinSize() const
{
layout->overall_size.GetHeight() > original->overall_size.GetHeight())
{
delete layout;
- wxASSERT_MSG(false, wxT("Layout collapse resulted in increased size"));
+ wxFAIL_MSG("Layout collapse resulted in increased size");
return false;
}