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,7 +48,7 @@ class WXDLLEXPORT wxRendererGTK : public wxDelegateRendererNative
|
||||
{
|
||||
public:
|
||||
// draw the header control button (used by wxListCtrl)
|
||||
virtual void DrawHeaderButton(wxWindow *win,
|
||||
virtual int DrawHeaderButton(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
@@ -123,7 +123,7 @@ wxRendererGTK::GetButtonWidget()
|
||||
// list/tree controls drawing
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void
|
||||
int
|
||||
wxRendererGTK::DrawHeaderButton(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
@@ -147,6 +147,8 @@ wxRendererGTK::DrawHeaderButton(wxWindow *win,
|
||||
"button",
|
||||
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