X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..de34bb081b6ce19bd4b1216d26a79b817a631bbd:/include/wx/univ/statbox.h diff --git a/include/wx/univ/statbox.h b/include/wx/univ/statbox.h index f242c1bb03..333e1985dc 100644 --- a/include/wx/univ/statbox.h +++ b/include/wx/univ/statbox.h @@ -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) };