X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc0bffacebe299b312ce7fdf49a8825f466cf73f..456fd7b661b2aa150443fe47a8c9c728c0509f73:/include/wx/statline.h 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(); }