]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
1. wxDateTimeHolidayAuthority class for calculating the holidays added
[wxWidgets.git] / src / common / sizer.cpp
index 32e291291439af7009c472370ed41aeb8d54977a..6280097628142767b8f4ea6079b524470ae901ff 100644 (file)
@@ -413,7 +413,7 @@ void wxBoxSizer::RecalcSizes()
 
        if (m_orient == wxVERTICAL)
        {
-           long height = size.y;
+           wxCoord height = size.y;
            if (item->GetOption())
            {
                height = (delta * weight) + extra;
@@ -438,7 +438,7 @@ void wxBoxSizer::RecalcSizes()
        }
        else
        {
-           long width = size.x;
+           wxCoord width = size.x;
            if (item->GetOption())
            {
                width = (delta * weight) + extra;