X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4ccedf7b28e60d8109ea412c34fb0f22a68afd4..6f02a879ed7efc5fcf6328ff47a1352ec82812b7:/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) };