From b808efdb885aa82a6c34a8278119bae63c7f4183 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 10 Apr 2005 18:33:03 +0000 Subject: [PATCH] mark slider as being transparent, otherwise it has ugly solid grey background when placed on a themed notebook git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/slider95.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/msw/slider95.h b/include/wx/msw/slider95.h index 91364bb..68033d6 100644 --- a/include/wx/msw/slider95.h +++ b/include/wx/msw/slider95.h @@ -84,6 +84,10 @@ public: WXHWND GetEditValue() const; virtual bool ContainsHWND(WXHWND hWnd) const; + // we should let background show through the slider (and its labels) + virtual bool HasTransparentBackground() { return true; } + + void Command(wxCommandEvent& event); virtual bool MSWOnScroll(int orientation, WXWORD wParam, WXWORD pos, WXHWND control); -- 2.7.4