#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);
+#include "wx/arrimpl.cpp"
+WX_DEFINE_OBJARRAY(wxArrayRibbonButtonBarButtonInstance)
class wxRibbonButtonBarLayout
{
wxRibbonButtonBar::wxRibbonButtonBar()
{
m_layouts_valid = false;
+ CommonInit (0);
}
wxRibbonButtonBar::wxRibbonButtonBar(wxWindow* parent,
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;
}