#pragma hdrstop
#endif
-#include "wx/ribbon/toolbar.h"
-
#if wxUSE_RIBBON
+#include "wx/ribbon/toolbar.h"
#include "wx/ribbon/art.h"
#include "wx/ribbon/bar.h"
#include "wx/dcbuffer.h"
smallest_area = GetSizeInOrientation(size, major_axis);
}
}
+ delete[] row_sizes;
// Position the groups
wxSizeEvent dummy_event(GetSize());
what = wxRIBBON_TOOLBAR_TOOL_DROPDOWN_HOVERED;
new_hover->state |= what;
-
+
if(new_hover == m_active_tool)
{
new_hover->state &= ~wxRIBBON_TOOLBAR_TOOL_ACTIVE_MASK;