]> git.saurik.com Git - wxWidgets.git/commitdiff
wxStaticBitmap should have transparent background (fixes grey backgrounds
authorJulian Smart <julian@anthemion.co.uk>
Sun, 17 Apr 2005 15:34:05 +0000 (15:34 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 17 Apr 2005 15:34:05 +0000 (15:34 +0000)
on WinCE)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/statbmp.h

index e0e4566370a49248554c847975c496014cb55fee..c54f6273132bcab9b0edca228cc6731b15229b0f 100644 (file)
@@ -42,6 +42,7 @@ public:
 
     // overriden base class virtuals
     virtual bool AcceptsFocus() const { return false; }
+    virtual bool HasTransparentBackground() { return true; }
 
 protected:
     virtual wxSize DoGetBestSize() const;