X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..8ea92b4d7792987769774ac381685dae15c70454:/include/wx/statline.h diff --git a/include/wx/statline.h b/include/wx/statline.h index b91b7c3ea8..c0ccedc762 100644 --- a/include/wx/statline.h +++ b/include/wx/statline.h @@ -5,7 +5,7 @@ // Created: 28.06.99 // Version: $Id$ // Copyright: (c) 1999 Vadim Zeitlin -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_STATLINE_H_BASE_ @@ -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(); }