]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/statbox.h
fixed recent modeless dialog breakage caused by removing wxDIALOG_MODAL (wxModelessWi...
[wxWidgets.git] / include / wx / gtk / statbox.h
index abda2db80290a20ff312b90136482eb098c71970..fa4d65228ad46eddbe28a2c8fdf3d112dc9cbc35 100644 (file)
@@ -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)