]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/statbox.h
BC++ 5.5 and later supports wxUSE_ON_FATAL_EXCEPTION
[wxWidgets.git] / include / wx / statbox.h
index 61b9d166cea57e389c539020044f6f53d3e3a63c..d5661e10fc5b62b1f1e7637e2b769c3d0a49ffec 100644 (file)
@@ -14,8 +14,15 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxStaticBoxNameStr;
 class WXDLLEXPORT wxStaticBoxBase : public wxControl
 {
 public:
+    wxStaticBoxBase() { }
+
     // overriden base class virtuals
-    virtual bool AcceptsFocus() const { return FALSE; }
+    virtual bool AcceptsFocus() const { return false; }
+    virtual void ApplyParentThemeBackground(const wxColour& bg)
+        { SetBackgroundColour(bg); }
+
+private:
+    DECLARE_NO_COPY_CLASS(wxStaticBoxBase)
 };
 
 #if defined(__WXUNIVERSAL__)
@@ -28,6 +35,8 @@ public:
 #include "wx/gtk/statbox.h"
 #elif defined(__WXMAC__)
 #include "wx/mac/statbox.h"
+#elif defined(__WXCOCOA__)
+#include "wx/cocoa/statbox.h"
 #elif defined(__WXPM__)
 #include "wx/os2/statbox.h"
 #endif