X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/174f7a2ee256d0610b4e3d3e75dd440af6e667ad..a6905d8b558f1a0d258365b815bff0b5b5c76a0b:/samples/render/renddll.cpp?ds=inline diff --git a/samples/render/renddll.cpp b/samples/render/renddll.cpp index 3892058c6c..51983bd6f0 100644 --- a/samples/render/renddll.cpp +++ b/samples/render/renddll.cpp @@ -5,7 +5,7 @@ // Modified by: // Created: 04.08.03 // RCS-ID: $Id$ -// Copyright: (c) 2003 Vadim Zeitlin +// Copyright: (c) 2003 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -63,6 +63,26 @@ public: { } + // draw a combobox dropdown button + // + // flags may only use wxCONTROL_PRESSED + virtual void DrawComboBoxDropButton(wxWindow *win, + wxDC& dc, + const wxRect& rect, + int flags = 0) + { + } + + // draw a dropdown arrow + // + // flags may use wxCONTROL_PRESSED and wxCONTROL_CURRENT + virtual void DrawDropArrow(wxWindow *win, + wxDC& dc, + const wxRect& rect, + int flags = 0) + { + } + // get the splitter parameters: the x field of the returned point is the // sash width and the y field is the border width virtual wxSplitterRenderParams GetSplitterParams(const wxWindow *win) @@ -70,6 +90,12 @@ public: return wxSplitterRenderParams(0, 0, 0); } + virtual wxRendererVersion GetVersion() const + { + return wxRendererVersion(wxRendererVersion::Current_Version, + wxRendererVersion::Current_Age); + } + #if 0 // just for debugging MyDllRenderer() {