From 573bd31feb9602c32eeb5b4036f35050249dc394 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sat, 10 May 2008 17:48:44 +0000 Subject: [PATCH] remove extra semicolons, correct virtual access git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wrapsizer.h | 11 +++++------ src/common/wrapsizer.cpp | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) 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_ diff --git a/src/common/wrapsizer.cpp b/src/common/wrapsizer.cpp index 91a43c2ea5..3884201b44 100644 --- a/src/common/wrapsizer.cpp +++ b/src/common/wrapsizer.cpp @@ -68,7 +68,7 @@ private: // wxWrapSizer implementation // ============================================================================ -IMPLEMENT_DYNAMIC_CLASS(wxWrapSizer, wxBoxSizer); +IMPLEMENT_DYNAMIC_CLASS(wxWrapSizer, wxBoxSizer) wxWrapSizer::wxWrapSizer(int orient, int flags) : wxBoxSizer(orient), -- 2.45.2