]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/statline.h
switched to using wxPopupWindow
[wxWidgets.git] / include / wx / statline.h
index b91b7c3ea8a9bac68e664ac699298538dcb65460..c0ccedc762324ccd37c6a94869ad451d9177a39f 100644 (file)
@@ -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();
         }