fixed wxIsctrl/wxIscntrl confusion (modified patch 888519)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -241,7 +241,7 @@
|
|||||||
/* ctype.h functions */
|
/* ctype.h functions */
|
||||||
#define wxIsalnum _istalnum
|
#define wxIsalnum _istalnum
|
||||||
#define wxIsalpha _istalpha
|
#define wxIsalpha _istalpha
|
||||||
#define wxIsctrl _istctrl
|
#define wxIscntrl _istcntrl
|
||||||
#define wxIsdigit _istdigit
|
#define wxIsdigit _istdigit
|
||||||
#define wxIsgraph _istgraph
|
#define wxIsgraph _istgraph
|
||||||
#define wxIslower _istlower
|
#define wxIslower _istlower
|
||||||
@@ -349,7 +349,7 @@
|
|||||||
/* ctype.h functions (wctype.h) */
|
/* ctype.h functions (wctype.h) */
|
||||||
#define wxIsalnum iswalnum
|
#define wxIsalnum iswalnum
|
||||||
#define wxIsalpha iswalpha
|
#define wxIsalpha iswalpha
|
||||||
#define wxIsctrl iswcntrl
|
#define wxIscntrl iswcntrl
|
||||||
#define wxIsdigit iswdigit
|
#define wxIsdigit iswdigit
|
||||||
#define wxIsgraph iswgraph
|
#define wxIsgraph iswgraph
|
||||||
#define wxIslower iswlower
|
#define wxIslower iswlower
|
||||||
@@ -429,7 +429,7 @@
|
|||||||
/* ctype.h functions (wctype.h) */
|
/* ctype.h functions (wctype.h) */
|
||||||
#define wxIsalnum iswalnum
|
#define wxIsalnum iswalnum
|
||||||
#define wxIsalpha iswalpha
|
#define wxIsalpha iswalpha
|
||||||
#define wxIsctrl iswcntrl
|
#define wxIscntrl iswcntrl
|
||||||
#define wxIsdigit iswdigit
|
#define wxIsdigit iswdigit
|
||||||
#define wxIsgraph iswgraph
|
#define wxIsgraph iswgraph
|
||||||
#define wxIslower iswlower
|
#define wxIslower iswlower
|
||||||
@@ -519,7 +519,7 @@
|
|||||||
/* ctype.h functions */
|
/* ctype.h functions */
|
||||||
#define wxIsalnum isalnum
|
#define wxIsalnum isalnum
|
||||||
#define wxIsalpha isalpha
|
#define wxIsalpha isalpha
|
||||||
#define wxIsctrl isctrl
|
#define wxIscntrl iscntrl
|
||||||
#define wxIsdigit isdigit
|
#define wxIsdigit isdigit
|
||||||
#define wxIsgraph isgraph
|
#define wxIsgraph isgraph
|
||||||
#define wxIslower islower
|
#define wxIslower islower
|
||||||
@@ -796,7 +796,7 @@ WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */
|
|||||||
#ifdef wxNEED_WX_CTYPE_H
|
#ifdef wxNEED_WX_CTYPE_H
|
||||||
WXDLLIMPEXP_BASE int wxIsalnum(wxChar ch);
|
WXDLLIMPEXP_BASE int wxIsalnum(wxChar ch);
|
||||||
WXDLLIMPEXP_BASE int wxIsalpha(wxChar ch);
|
WXDLLIMPEXP_BASE int wxIsalpha(wxChar ch);
|
||||||
WXDLLIMPEXP_BASE int wxIsctrl(wxChar ch);
|
WXDLLIMPEXP_BASE int wxIscntrl(wxChar ch);
|
||||||
WXDLLIMPEXP_BASE int wxIsdigit(wxChar ch);
|
WXDLLIMPEXP_BASE int wxIsdigit(wxChar ch);
|
||||||
WXDLLIMPEXP_BASE int wxIsgraph(wxChar ch);
|
WXDLLIMPEXP_BASE int wxIsgraph(wxChar ch);
|
||||||
WXDLLIMPEXP_BASE int wxIslower(wxChar ch);
|
WXDLLIMPEXP_BASE int wxIslower(wxChar ch);
|
||||||
@@ -816,6 +816,13 @@ WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */
|
|||||||
#define wxIsspace(c) ((((unsigned)c) < 128) && isspace(c))
|
#define wxIsspace(c) ((((unsigned)c) < 128) && isspace(c))
|
||||||
#endif /* VC++ */
|
#endif /* VC++ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
we had goofed and defined wxIctrl() instead of (correct) wxIscntrl() in the
|
||||||
|
initial versions of this header -- now it is too late to remove it so
|
||||||
|
although we fixed the function/macro name above, still provide the
|
||||||
|
backwards-compatible synonym.
|
||||||
|
*/
|
||||||
|
#define wxIsctrl wxIscntrl
|
||||||
|
|
||||||
/* string.h functions */
|
/* string.h functions */
|
||||||
/* */
|
/* */
|
||||||
|
Reference in New Issue
Block a user