]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xlocale.h
set m_isBeingDeleted to true (only) in SendDestroyEvent(); call it as early as possib...
[wxWidgets.git] / include / wx / xlocale.h
index 39b49e7556541ea4c7e86c1d5d4a0db8a5b2bf5c..c0d5d4f84bc2981ca9f87e2a6c9df670fa3de3bb 100644 (file)
@@ -198,31 +198,31 @@ private:
     #define wxCRT_Toupper_lA wxXLOCALE_IDENT(toupper_l)
 
     inline int wxIsalnum_l(char c, const wxXLocale& loc)
-        { return wxCRT_Isalnum_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Isalnum_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxIsalpha_l(char c, const wxXLocale& loc)
-        { return wxCRT_Isalpha_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Isalpha_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxIscntrl_l(char c, const wxXLocale& loc)
-        { return wxCRT_Iscntrl_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Iscntrl_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxIsdigit_l(char c, const wxXLocale& loc)
-        { return wxCRT_Isdigit_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Isdigit_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxIsgraph_l(char c, const wxXLocale& loc)
-        { return wxCRT_Isgraph_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Isgraph_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxIslower_l(char c, const wxXLocale& loc)
-        { return wxCRT_Islower_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Islower_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxIsprint_l(char c, const wxXLocale& loc)
-        { return wxCRT_Isprint_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Isprint_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxIspunct_l(char c, const wxXLocale& loc)
-        { return wxCRT_Ispunct_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Ispunct_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxIsspace_l(char c, const wxXLocale& loc)
-        { return wxCRT_Isspace_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Isspace_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxIsupper_l(char c, const wxXLocale& loc)
-        { return wxCRT_Isupper_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Isupper_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxIsxdigit_l(char c, const wxXLocale& loc)
-        { return wxCRT_Isxdigit_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Isxdigit_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxTolower_l(char c, const wxXLocale& loc)
-        { return wxCRT_Tolower_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Tolower_lA(static_cast<unsigned char>(c), loc.Get()); }
     inline int wxToupper_l(char c, const wxXLocale& loc)
-        { return wxCRT_Toupper_lA(wx_static_cast(unsigned char, c), loc.Get()); }
+        { return wxCRT_Toupper_lA(static_cast<unsigned char>(c), loc.Get()); }
 
     #if wxUSE_UNICODE
         #define wxCRT_Isalnum_lW wxXLOCALE_IDENT(iswalnum_l)