]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/statbox.h
* wx.Panel doesn't have a SetTitle anymore. What was this used for
[wxWidgets.git] / include / wx / gtk / statbox.h
index 8b9c296f706ded79066058f6c06c680de32e5f6d..90c5abc8c3f7909e169779ac21921bff4b12d529 100644 (file)
@@ -7,19 +7,14 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-
 #ifndef __GTKSTATICBOXH__
 #define __GTKSTATICBOXH__
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 //-----------------------------------------------------------------------------
 // wxStaticBox
 //-----------------------------------------------------------------------------
 
-class wxStaticBox : public wxStaticBoxBase
+class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
 {
 public:
     wxStaticBox();
@@ -40,12 +35,19 @@ 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:
+    virtual bool GTKWidgetNeedsMnemonic() const;
+    virtual void GTKWidgetDoSetMnemonic(GtkWidget* w);
+
+    void DoApplyWidgetStyle(GtkRcStyle *style);
+    
 private:
     DECLARE_DYNAMIC_CLASS(wxStaticBox)
 };