]> git.saurik.com Git - wxWidgets.git/commitdiff
moved c-runtime functions for CW to wxchar
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 5 Jul 2003 19:46:22 +0000 (19:46 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 5 Jul 2003 19:46:22 +0000 (19:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/utilscmn.cpp

index 4b732fd498d6baa64c5d071526befa292b9bb528..5a91c57e8f68b3f78bececc9df01166d87b952cb 100644 (file)
@@ -830,20 +830,6 @@ wxFont wxGetFontFromUser(wxWindow *parent, const wxFont& fontInit)
 }
 
 #endif // wxUSE_FONTDLG
-// ----------------------------------------------------------------------------
-// missing C RTL functions (FIXME shouldn't be here at all)
-// ----------------------------------------------------------------------------
-
-#if defined( __MWERKS__ ) && !defined(__MACH__)
-char *strdup(const char *s)
-{
-        return strcpy( (char*) malloc( strlen( s ) + 1 ) , s ) ;
-}
-int isascii( int c )
-{
-        return ( c >= 0 && c < 128 ) ;
-}
-#endif // __MWERKS__
 
 // ----------------------------------------------------------------------------
 // wxSafeYield and supporting functions