X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2d49353d4ac77775d5c513e55940175458faa1c..4b7ded8bad3a45ea4838e6d3f5d1957a134050ec:/contrib/src/gizmos/multicell.cpp diff --git a/contrib/src/gizmos/multicell.cpp b/contrib/src/gizmos/multicell.cpp index 6c6d1069ba..130ecd63eb 100644 --- a/contrib/src/gizmos/multicell.cpp +++ b/contrib/src/gizmos/multicell.cpp @@ -314,8 +314,8 @@ void wxMultiCellSizer::RecalcSizes() c_size = rect->GetLocalSize(); wxSize minSize( item->CalcMin() ); - if (c_size.GetHeight() != wxDefaultSize.GetHeight() || - c_size.GetWidth() != wxDefaultSize.GetWidth()) + if (c_size.GetHeight() != wxDefaultCoord || + c_size.GetWidth() != wxDefaultCoord) { minSize.SetHeight(wxMax(minSize.GetHeight(), c_size.GetHeight())); minSize.SetWidth(wxMax(minSize.GetWidth(), c_size.GetWidth())); @@ -454,8 +454,8 @@ void wxMultiCellSizer :: GetMinimums() wxSize minSize( item->CalcMin() ); wxSize c_size = rect->GetLocalSize(); - if (c_size.GetHeight() != wxDefaultSize.GetHeight() || - c_size.GetWidth() != wxDefaultSize.GetWidth()) + if (c_size.GetHeight() != wxDefaultCoord || + c_size.GetWidth() != wxDefaultCoord) { minSize.SetHeight(wxMax(minSize.GetHeight(), c_size.GetHeight())); minSize.SetWidth(wxMax(minSize.GetWidth(), c_size.GetWidth()));