X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/13a3888794c97e06686a9f40189d63f708e891ba..d0f063020e6fb1b1a660952d0844071e0df24324:/include/wx/wrapsizer.h diff --git a/include/wx/wrapsizer.h b/include/wx/wrapsizer.h index 1146af8111..60fa51d149 100644 --- a/include/wx/wrapsizer.h +++ b/include/wx/wrapsizer.h @@ -39,6 +39,10 @@ public: virtual wxSize CalcMin(); virtual void RecalcSizes(); + virtual bool InformFirstDirection(int direction, + int size, + int availableOtherDir); + protected: // This method is called to decide if an item represents empty space or // not. We do this to avoid having space-only items first or last on a @@ -52,10 +56,6 @@ protected: return item->IsSpacer(); } - virtual bool InformFirstDirection(int direction, - int size, - int availableOtherDir ); - // helpers of CalcMin() void CalcMinFromMinor(int totMinor); void CalcMinFromMajor(int totMajor); @@ -94,8 +94,7 @@ protected: wxBoxSizer m_rows; // Sizer containing multiple rows of our items -private: - DECLARE_DYNAMIC_CLASS_NO_COPY(wxWrapSizer); + DECLARE_DYNAMIC_CLASS_NO_COPY(wxWrapSizer) }; #endif // _WX_WRAPSIZER_H_