X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..af17155e907c863dbba2bbf1c6a91a083569404c:/include/wx/gtk1/statbox.h?ds=sidebyside diff --git a/include/wx/gtk1/statbox.h b/include/wx/gtk1/statbox.h index abda2db802..fa4d65228a 100644 --- a/include/wx/gtk1/statbox.h +++ b/include/wx/gtk1/statbox.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -42,7 +42,9 @@ public: // implementation - void ApplyWidgetStyle(); + virtual void ApplyWidgetStyle(); + + virtual bool IsTransparentForMouse() const { return TRUE; } private: DECLARE_DYNAMIC_CLASS(wxStaticBox)