]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/statbox.h
allocate HPEN on demand instead of doing every time a pen property is modified; also...
[wxWidgets.git] / include / wx / gtk / statbox.h
index abda2db80290a20ff312b90136482eb098c71970..437e1836f21d32eb907b7a58d70262c9eb5b845b 100644 (file)
@@ -7,19 +7,14 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-
 #ifndef __GTKSTATICBOXH__
 #define __GTKSTATICBOXH__
 
 #ifndef __GTKSTATICBOXH__
 #define __GTKSTATICBOXH__
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 //-----------------------------------------------------------------------------
 // wxStaticBox
 //-----------------------------------------------------------------------------
 
 //-----------------------------------------------------------------------------
 // wxStaticBox
 //-----------------------------------------------------------------------------
 
-class wxStaticBox : public wxStaticBoxBase
+class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
 {
 public:
     wxStaticBox();
 {
 public:
     wxStaticBox();
@@ -40,10 +35,21 @@ public:
 
     virtual void SetLabel( const wxString &label );
 
 
     virtual void SetLabel( const wxString &label );
 
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
     // implementation
 
     // implementation
 
-    void ApplyWidgetStyle();
+    virtual bool IsTransparentForMouse() const { return TRUE; }
+
+    virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
+
+protected:
+    virtual bool GTKWidgetNeedsMnemonic() const;
+    virtual void GTKWidgetDoSetMnemonic(GtkWidget* w);
 
 
+    void DoApplyWidgetStyle(GtkRcStyle *style);
+    
 private:
     DECLARE_DYNAMIC_CLASS(wxStaticBox)
 };
 private:
     DECLARE_DYNAMIC_CLASS(wxStaticBox)
 };