X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..7249080588e30b4740adc138e793ffa0ead4b5ef:/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(); }