]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/statbox.h
corrected inverted test in IsEmpty() (patch 1936052)
[wxWidgets.git] / include / wx / statbox.h
index efeeee65b21f8f6ff4631148ef43ccc3ad4731c8..e8f48c3eb398b766139cbe986da4bab91456b0dd 100644 (file)
 
 #include "wx/control.h"
 
-extern WXDLLEXPORT_DATA(const wxChar) wxStaticBoxNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStaticBoxNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxStaticBox: a grouping box with a label
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStaticBoxBase : public wxControl
+class WXDLLIMPEXP_CORE wxStaticBoxBase : public wxControl
 {
 public:
     wxStaticBoxBase() { }
@@ -46,7 +46,10 @@ public:
         *borderOther = BORDER;
     }
 
-private:
+protected:
+    // choose the default border for this window
+    virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
     DECLARE_NO_COPY_CLASS(wxStaticBoxBase)
 };