]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/private/grid.h
Fix wxWrapSizer minimal size calculation.
[wxWidgets.git] / include / wx / generic / private / grid.h
index 388146d5025407d2d43b4c942e8e33f2dc4bd196..ebc8e2bcca1c2b912b32eadfcfb14ee35a26a60e 100644 (file)
@@ -793,23 +793,6 @@ private:
     const int m_numLines;
 };
 
-// ----------------------------------------------------------------------------
-// private helpers
-// ----------------------------------------------------------------------------
-
-namespace
-{
-
-// ensure that first is less or equal to second, swapping the values if
-// necessary
-void EnsureFirstLessThanSecond(int& first, int& second)
-{
-    if ( first > second )
-        wxSwap(first, second);
-}
-
-} // anonymous namespace
-
 // ----------------------------------------------------------------------------
 // data structures used for the data type registry
 // ----------------------------------------------------------------------------