- wxRendererNative::Get().DrawHeaderButton(this, dc,
- wxRect(20, 70, 100, 60));
+ wxRendererNative& renderer = wxRendererNative::Get();
+ const wxCoord height = renderer.GetHeaderButtonHeight(this);
+
+ renderer.DrawHeaderButton(this, dc, wxRect(20, 70, 100, height));