]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/statbox.h
added GtkUpdateScrollbar; folded some code duplicated for horz/vert orientations...
[wxWidgets.git] / include / wx / gtk1 / statbox.h
index fa4d65228ad46eddbe28a2c8fdf3d112dc9cbc35..67e0a8e21de9069fa9a49b470311d6c96b2406ef 100644 (file)
@@ -7,19 +7,14 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-
 #ifndef __GTKSTATICBOXH__
 #define __GTKSTATICBOXH__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface
-#endif
-
 //-----------------------------------------------------------------------------
 // wxStaticBox
 //-----------------------------------------------------------------------------
 
-class wxStaticBox : public wxStaticBoxBase
+class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
 {
 public:
     wxStaticBox();
@@ -40,12 +35,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)
 };