]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/statbox.h
bug fixes for using wxTransientPopupWindow and wxDP_ALLOWNONE support from Andreas...
[wxWidgets.git] / include / wx / gtk1 / statbox.h
index c6e232c525d8c07345357754eeb61570827a80cc..87b7372b86c5ba07e0ab44d70e898022bf9d4c03 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKSTATICBOXH__
 #define __GTKSTATICBOXH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
@@ -40,12 +40,16 @@ public:
 
     virtual void SetLabel( const wxString &label );
 
-    // implementation
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 
-    virtual void ApplyWidgetStyle();
+    // implementation
 
     virtual bool IsTransparentForMouse() const { return TRUE; }
 
+protected:
+    void DoApplyWidgetStyle(GtkRcStyle *style);
+    
 private:
     DECLARE_DYNAMIC_CLASS(wxStaticBox)
 };