]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/statbox.h
Use the same logic for closing dialogs as for handling Escape key.
[wxWidgets.git] / include / wx / gtk / statbox.h
index 015c5280c3abf2f954a5e253dc32729560f0f8bb..1edbbd9b2fda3aa3b0d2a2577f6a279e30f5d131 100644 (file)
@@ -7,13 +7,8 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-
-#ifndef __GTKSTATICBOXH__
-#define __GTKSTATICBOXH__
-
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface
-#endif
+#ifndef _WX_GTKSTATICBOX_H_
+#define _WX_GTKSTATICBOX_H_
 
 //-----------------------------------------------------------------------------
 // wxStaticBox
@@ -45,13 +40,19 @@ public:
 
     // implementation
 
-    virtual bool IsTransparentForMouse() const { return TRUE; }
+    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)
 };
 
-#endif // __GTKSTATICBOXH__
+#endif // _WX_GTKSTATICBOX_H_