]> git.saurik.com Git - wxWidgets.git/commitdiff
wxDefaultCoord
authorRobin Dunn <robin@alldunn.com>
Thu, 24 Jun 2004 03:04:57 +0000 (03:04 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 24 Jun 2004 03:04:57 +0000 (03:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 1dd3319f3c06105316d4f778054bce4eb7d614b5..521ac22eacefd618018ee9ba7b2eca01fba2fdf6 100644 (file)
@@ -211,7 +211,7 @@ typedef short int WXTYPE;
 
 /*  special care should be taken with this type under Windows where the real */
 /*  window id is unsigned, so we must always do the cast before comparing them */
-/*  (or else they would be always different!). Usign wxGetWindowId() which does */
+/*  (or else they would be always different!). Using wxGetWindowId() which does */
 /*  the cast itself is recommended. Note that this type can't be unsigned */
 /*  because wxID_ANY == -1 is a valid (and largely used) value for window id. */
 typedef int wxWindowID;
@@ -569,6 +569,7 @@ enum
         typedef int wxCoord;
 #endif /*  wxUSE_COMPATIBLE_COORD_TYPES/!wxUSE_COMPATIBLE_COORD_TYPES */
 
+enum {  wxDefaultCoord = -1 };
 
 /*  ---------------------------------------------------------------------------- */
 /*  define fixed length types */