diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/headless/CustomWidgetDraw.cxx | 5 | ||||
-rw-r--r-- | vcl/inc/WidgetThemeLibrary.hxx | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/vcl/headless/CustomWidgetDraw.cxx b/vcl/headless/CustomWidgetDraw.cxx index 81a51b074e10..a512a62bb178 100644 --- a/vcl/headless/CustomWidgetDraw.cxx +++ b/vcl/headless/CustomWidgetDraw.cxx @@ -221,7 +221,10 @@ bool CustomWidgetDraw::drawNativeControl(ControlType eType, ControlPart ePart, case ControlType::Fixedline: break; case ControlType::Toolbar: - break; + { + bOK = s_pWidgetImplementation->drawToolbar(aParameters, nWidth, nHeight); + } + break; case ControlType::Menubar: break; case ControlType::MenuPopup: diff --git a/vcl/inc/WidgetThemeLibrary.hxx b/vcl/inc/WidgetThemeLibrary.hxx index 1db8d62a68f1..6d4ab9dde196 100644 --- a/vcl/inc/WidgetThemeLibrary.hxx +++ b/vcl/inc/WidgetThemeLibrary.hxx @@ -59,6 +59,7 @@ public: virtual bool drawTabHeader(ControlDrawParameters const& rParameters, long nWidth, long nHeight); virtual bool drawTabBody(ControlDrawParameters const& rParameters, long nWidth, long nHeight); virtual bool drawSlider(ControlDrawParameters const& rParameters, long nWidth, long nHeight); + virtual bool drawToolbar(ControlDrawParameters const& rParameters, long nWidth, long nHeight); virtual bool drawProgress(ControlDrawParameters const& rParameters, long nWidth, long nHeight); virtual bool drawWindowsBackground(ControlDrawParameters const& rParameters, long nWidth, long nHeight); |