if (!button->m_hasVMT) return;
if (g_blockEventsOnDrag) return;
- button->HasFocus();
+ button->GTKSetHasFocus();
}
}
if (!button->m_hasVMT) return;
if (g_blockEventsOnDrag) return;
- button->NotFocus();
+ button->GTKSetNotFocus();
}
}
return true;
}
-void wxBitmapButton::HasFocus()
+void wxBitmapButton::GTKSetHasFocus()
{
m_hasFocus = true;
OnSetBitmap();
}
-void wxBitmapButton::NotFocus()
+void wxBitmapButton::GTKSetNotFocus()
{
m_hasFocus = false;
OnSetBitmap();
virtual void DrawHeaderButton(wxWindow *win,
wxDC& dc,
const wxRect& rect,
- int flags = 0);
+ int flags = 0
+ wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE,
+ wxHeaderButtonParams* params=NULL);
virtual void DrawSplitterBorder(wxWindow *win,
wxDC& dc,
wxRendererGTK::DrawHeaderButton(wxWindow *win,
wxDC& dc,
const wxRect& rect,
- int flags)
+ int flags,
+ wxHeaderSortIconType WXUNUSED(sortArrow),
+ wxHeaderButtonParams* WXUNUSED(params))
{
GtkWidget *button = GetButtonWidget();