#pragma hdrstop
#endif
-#include "wx/ribbon/gallery.h"
-
#if wxUSE_RIBBON
+#include "wx/ribbon/gallery.h"
#include "wx/ribbon/art.h"
#include "wx/ribbon/bar.h"
#include "wx/dcbuffer.h"
if(m_art == NULL)
return;
- wxSize cur_size = GetSize();
- wxSize min_size = GetMinSize();
-
m_art->DrawGalleryBackground(dc, this, GetSize());
int padding_top = m_art->GetMetric(wxRIBBON_ART_GALLERY_BITMAP_PADDING_TOP_SIZE);