X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..c6ea1fdaf924be4ee49a19d12f76e4fcd257bb0a:/include/wx/univ/statbox.h diff --git a/include/wx/univ/statbox.h b/include/wx/univ/statbox.h index f242c1bb03..eb1cb116c8 100644 --- a/include/wx/univ/statbox.h +++ b/include/wx/univ/statbox.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_STATBOX_H_ #define _WX_UNIV_STATBOX_H_ -class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase +class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase { public: wxStaticBox() { } @@ -47,6 +47,10 @@ public: // take account of this virtual wxPoint GetBoxAreaOrigin() const; + // returning true from here ensures that we act as a container window for + // our children + virtual bool IsStaticBox() const { return true; } + protected: // draw the control virtual void DoDraw(wxControlRenderer *renderer); @@ -54,10 +58,6 @@ protected: // get the size of the border wxRect GetBorderGeometry() const; - // returning true from here ensures that we act as a container window for - // our children - virtual bool IsStaticBox() const { return true; } - private: DECLARE_DYNAMIC_CLASS(wxStaticBox) };