compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -48,12 +48,12 @@ class WXDLLEXPORT wxRendererGTK : public wxDelegateRendererNative
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// draw the header control button (used by wxListCtrl)
|
// draw the header control button (used by wxListCtrl)
|
||||||
virtual void DrawHeaderButton(wxWindow *win,
|
virtual int DrawHeaderButton(wxWindow *win,
|
||||||
wxDC& dc,
|
wxDC& dc,
|
||||||
const wxRect& rect,
|
const wxRect& rect,
|
||||||
int flags = 0,
|
int flags = 0,
|
||||||
wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE,
|
wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE,
|
||||||
wxHeaderButtonParams* params=NULL);
|
wxHeaderButtonParams* params=NULL);
|
||||||
|
|
||||||
virtual void DrawSplitterBorder(wxWindow *win,
|
virtual void DrawSplitterBorder(wxWindow *win,
|
||||||
wxDC& dc,
|
wxDC& dc,
|
||||||
@@ -123,7 +123,7 @@ wxRendererGTK::GetButtonWidget()
|
|||||||
// list/tree controls drawing
|
// list/tree controls drawing
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
void
|
int
|
||||||
wxRendererGTK::DrawHeaderButton(wxWindow *win,
|
wxRendererGTK::DrawHeaderButton(wxWindow *win,
|
||||||
wxDC& dc,
|
wxDC& dc,
|
||||||
const wxRect& rect,
|
const wxRect& rect,
|
||||||
@@ -147,6 +147,8 @@ wxRendererGTK::DrawHeaderButton(wxWindow *win,
|
|||||||
"button",
|
"button",
|
||||||
dc.LogicalToDeviceX(rect.x) -1, rect.y -1, rect.width +2, rect.height +2
|
dc.LogicalToDeviceX(rect.x) -1, rect.y -1, rect.width +2, rect.height +2
|
||||||
);
|
);
|
||||||
|
|
||||||
|
return rect.width + 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user