X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..0738b901b17340f09766524b8d9d79e9ed1268e7:/src/univ/themes/mono.cpp?ds=sidebyside diff --git a/src/univ/themes/mono.cpp b/src/univ/themes/mono.cpp index a534269f86..13c5107e96 100644 --- a/src/univ/themes/mono.cpp +++ b/src/univ/themes/mono.cpp @@ -54,6 +54,13 @@ class wxMonoRenderer : public wxStdRenderer public: wxMonoRenderer(const wxColourScheme *scheme); + virtual void DrawLabel(wxDC& dc, + const wxString& label, + const wxRect& rect, + int flags = 0, + int alignment = wxALIGN_LEFT | wxALIGN_TOP, + int indexAccel = -1, + wxRect *rectBounds = NULL); virtual void DrawButtonLabel(wxDC& dc, const wxString& label, const wxBitmap& image, @@ -720,6 +727,17 @@ void wxMonoRenderer::DrawFocusRect(wxWindow* WXUNUSED(win), wxDC& dc, const wxRe // label // ---------------------------------------------------------------------------- +void wxMonoRenderer::DrawLabel(wxDC& dc, + const wxString& label, + const wxRect& rect, + int WXUNUSED(flags), + int alignment, + int indexAccel, + wxRect *rectBounds) +{ + dc.DrawLabel(label, wxNullBitmap, rect, alignment, indexAccel, rectBounds); +} + void wxMonoRenderer::DrawButtonLabel(wxDC& dc, const wxString& label, const wxBitmap& image,