]> git.saurik.com Git - wxWidgets.git/blobdiff - src/ribbon/gallery.cpp
remove workaround
[wxWidgets.git] / src / ribbon / gallery.cpp
index 440455e16f75ec9aba7cd5fa7cc5407dfd8da41c..0a1aa02d0359421e0c8e9bff09ba51e18dc35b71 100644 (file)
@@ -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);