Merge branch 'render-vert-gauge'

Allow using DrawRender() for vertical gauges too #712.

See https://github.com/wxWidgets/wxWidgets/pull/712
This commit is contained in:
Vadim Zeitlin
2018-02-04 00:12:26 +01:00
6 changed files with 62 additions and 16 deletions

View File

@@ -333,7 +333,9 @@ public:
int flags = 0) = 0;
#endif // wxHAS_DRAW_TITLE_BAR_BITMAP
// Draw a gauge with native style like a wxGauge would display
// Draw a gauge with native style like a wxGauge would display.
//
// wxCONTROL_SPECIAL flag must be used for drawing vertical gauges.
virtual void DrawGauge(wxWindow* win,
wxDC& dc,
const wxRect& rect,