X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21d09ecdeefc759e2212592c2aa4c3a50aeac307..c2919ab326e60322b63ae9b5d50e83bb5156efce:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index 1dd3319f3c..5b8cd9912f 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 */ @@ -2366,11 +2367,6 @@ typedef GtkWidget *WXWidget; #define GTK_CLASS_TYPE(klass) ((klass)->type) #endif -#ifdef __WXGTK20__ -/* Input method thing */ -typedef struct _GtkIMMulticontext GtkIMMulticontext; -#endif /* __WXGTK20__ */ - #endif /* __WXGTK__ */ #if defined(__WXGTK20__) || (defined(__WXX11__) && wxUSE_UNICODE)