X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92c32bbee7cde97f465a5632734d63f050f5d550..f629f37a825f1f927c873a48317d967cb358fffd:/src/gtk/renderer.cpp?ds=sidebyside diff --git a/src/gtk/renderer.cpp b/src/gtk/renderer.cpp index f3b5cd45af..9889c5e4da 100644 --- a/src/gtk/renderer.cpp +++ b/src/gtk/renderer.cpp @@ -114,14 +114,14 @@ public: const wxRect& rect, int flags=0); - virtual void DrawRadioButton(wxWindow* win, + virtual void DrawRadioBitmap(wxWindow* win, wxDC& dc, const wxRect& rect, int flags=0); virtual void DrawFocusRect(wxWindow* win, wxDC& dc, const wxRect& rect, int flags = 0); - virtual wxSize GetCheckBoxSize() const; + virtual wxSize GetCheckBoxSize(wxWindow *win); virtual wxSplitterRenderParams GetSplitterParams(const wxWindow *win); }; @@ -428,7 +428,7 @@ wxRendererGTK::DrawComboBoxDropButton(wxWindow *win, } wxSize -wxRendererGTK::GetCheckBoxSize() const +wxRendererGTK::GetCheckBoxSize(wxWindow *WXUNUSED(win)) { gint indicator_size, indicator_spacing; gtk_widget_style_get(wxGTKPrivate::GetCheckButtonWidget(), @@ -728,7 +728,7 @@ void wxRendererGTK::DrawChoice(wxWindow* win, wxDC& dc, // Draw a themed radio button -void wxRendererGTK::DrawRadioButton(wxWindow* win, wxDC& dc, const wxRect& rect, int flags) +void wxRendererGTK::DrawRadioBitmap(wxWindow* win, wxDC& dc, const wxRect& rect, int flags) { GtkWidget *button = wxGTKPrivate::GetRadioButtonWidget();