X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3870b2ff595ba4bb4f0397ace77ceeb9628e94d..7a5e53abb3f9ea13eba2880972306446e4e21e83:/include/wx/univ/statbmp.h diff --git a/include/wx/univ/statbmp.h b/include/wx/univ/statbmp.h index 42fbf0b0ee..0a69f1e236 100644 --- a/include/wx/univ/statbmp.h +++ b/include/wx/univ/statbmp.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_STATBMP_H_ #define _WX_UNIV_STATBMP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univstatbmp.h" #endif @@ -22,7 +22,7 @@ // wxStaticBitmap // ---------------------------------------------------------------------------- -class wxStaticBitmap : public wxStaticBitmapBase +class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase { public: wxStaticBitmap() @@ -63,6 +63,8 @@ public: wxIcon GetIcon() const; + virtual bool HasTransparentBackground() { return TRUE; } + private: virtual void DoDraw(wxControlRenderer *renderer);