]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/statbox.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / gtk / statbox.h
index c6e232c525d8c07345357754eeb61570827a80cc..b216e24143475eeb8ab9ea4b9b7dd9d37b152df4 100644 (file)
@@ -7,19 +7,14 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-
 #ifndef __GTKSTATICBOXH__
 #define __GTKSTATICBOXH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface
-#endif
-
 //-----------------------------------------------------------------------------
 // wxStaticBox
 //-----------------------------------------------------------------------------
 
-class wxStaticBox : public wxStaticBoxBase
+class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
 {
 public:
     wxStaticBox();
@@ -40,12 +35,23 @@ 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; }
 
+    virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
+
+    virtual void AddChild( wxWindowBase *child );
+
+protected:
+    virtual bool GTKWidgetNeedsMnemonic() const;
+    virtual void GTKWidgetDoSetMnemonic(GtkWidget* w);
+
+    void DoApplyWidgetStyle(GtkRcStyle *style);
+    
 private:
     DECLARE_DYNAMIC_CLASS(wxStaticBox)
 };