fix virtual function hiding warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -51,8 +51,8 @@ public:
|
||||
// implementation
|
||||
// --------------
|
||||
|
||||
void HasFocus();
|
||||
void NotFocus();
|
||||
void GTKSetHasFocus();
|
||||
void GTKSetNotFocus();
|
||||
void StartSelect();
|
||||
void EndSelect();
|
||||
void DoApplyWidgetStyle(GtkRcStyle *style);
|
||||
|
@@ -64,7 +64,7 @@ static void gtk_bmpbutton_enter_callback( GtkWidget *WXUNUSED(widget), wxBitmapB
|
||||
if (!button->m_hasVMT) return;
|
||||
if (g_blockEventsOnDrag) return;
|
||||
|
||||
button->HasFocus();
|
||||
button->GTKSetHasFocus();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ static void gtk_bmpbutton_leave_callback( GtkWidget *WXUNUSED(widget), wxBitmapB
|
||||
if (!button->m_hasVMT) return;
|
||||
if (g_blockEventsOnDrag) return;
|
||||
|
||||
button->NotFocus();
|
||||
button->GTKSetNotFocus();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -240,13 +240,13 @@ bool wxBitmapButton::Enable( bool enable )
|
||||
return true;
|
||||
}
|
||||
|
||||
void wxBitmapButton::HasFocus()
|
||||
void wxBitmapButton::GTKSetHasFocus()
|
||||
{
|
||||
m_hasFocus = true;
|
||||
OnSetBitmap();
|
||||
}
|
||||
|
||||
void wxBitmapButton::NotFocus()
|
||||
void wxBitmapButton::GTKSetNotFocus()
|
||||
{
|
||||
m_hasFocus = false;
|
||||
OnSetBitmap();
|
||||
|
@@ -51,7 +51,9 @@ public:
|
||||
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,
|
||||
@@ -125,7 +127,9 @@ void
|
||||
wxRendererGTK::DrawHeaderButton(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags)
|
||||
int flags,
|
||||
wxHeaderSortIconType WXUNUSED(sortArrow),
|
||||
wxHeaderButtonParams* WXUNUSED(params))
|
||||
{
|
||||
|
||||
GtkWidget *button = GetButtonWidget();
|
||||
|
Reference in New Issue
Block a user