From 1f3192288be72949b21e3d203639bae6ae85c080 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 24 Jun 2004 03:04:57 +0000 Subject: [PATCH] wxDefaultCoord git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/defs.h b/include/wx/defs.h index 1dd3319f3c..521ac22eac 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -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 */ -- 2.50.0