X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c3ead1d1513a5eb79091a604f4e42b45d1bdf5d..9118a24f5263c271c0b36049ba1a1b82c1763f25:/src/ribbon/gallery.cpp diff --git a/src/ribbon/gallery.cpp b/src/ribbon/gallery.cpp index 440455e16f..0a1aa02d03 100644 --- a/src/ribbon/gallery.cpp +++ b/src/ribbon/gallery.cpp @@ -458,9 +458,6 @@ void wxRibbonGallery::OnPaint(wxPaintEvent& WXUNUSED(evt)) 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);