From: Julian Smart Date: Sun, 17 Apr 2005 15:34:05 +0000 (+0000) Subject: wxStaticBitmap should have transparent background (fixes grey backgrounds X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/60acae65faac4b98254c76437d4bb9ac55f5d759?ds=inline wxStaticBitmap should have transparent background (fixes grey backgrounds on WinCE) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/statbmp.h b/include/wx/statbmp.h index e0e4566370..c54f627313 100644 --- a/include/wx/statbmp.h +++ b/include/wx/statbmp.h @@ -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;