]> git.saurik.com Git - wxWidgets.git/commitdiff
mark slider as being transparent, otherwise it has ugly solid grey background when...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Apr 2005 18:33:03 +0000 (18:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Apr 2005 18:33:03 +0000 (18:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/slider95.h

index 91364bb3746c6a5a09ae0924c649d8bc5be032b7..68033d6c793e4e8143a18bf6d80d4cc6a3cd8d80 100644 (file)
@@ -84,6 +84,10 @@ public:
     WXHWND GetEditValue() const;
     virtual bool ContainsHWND(WXHWND hWnd) const;
 
     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);
     void Command(wxCommandEvent& event);
     virtual bool MSWOnScroll(int orientation, WXWORD wParam,
                              WXWORD pos, WXHWND control);