X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc0bffacebe299b312ce7fdf49a8825f466cf73f..ec8bd3921c6ad85dd8101306d920e19e32541680:/include/wx/statline.h?ds=inline diff --git a/include/wx/statline.h b/include/wx/statline.h index 7bd1939ceb..c0ccedc762 100644 --- a/include/wx/statline.h +++ b/include/wx/statline.h @@ -58,12 +58,12 @@ protected: wxSize sizeReal(size); if ( IsVertical() ) { - if ( size.x == -1 ) + if ( size.x == wxDefaultCoord ) sizeReal.x = GetDefaultSize(); } else { - if ( size.y == -1 ) + if ( size.y == wxDefaultCoord ) sizeReal.y = GetDefaultSize(); }