]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxchar.h
Fixed source for WinCE compatibility
[wxWidgets.git] / include / wx / wxchar.h
index 5ca84cdbe121d049b56879ad234f78b3a9195110..3a126dad6ee3bb00955e82e48f1190dbc57964e1 100644 (file)
     #define  wxPuts      _putts
     #define  wxScanf     _tscanf
     #if defined(__DMC__)
-        /* Digital Mars adds count to _stprintf (C99) so it does not fit wxWindows needs */
-        /* and there is a bug in D Mars tchar.h prior to 8.39.4n, so define as sprintf */
-        /* for non-unicode builds CE */
-        /* Unicode broken 10 Feb 04 Fixme */
         #if wxUSE_UNICODE
-            #define wxSprintf swprintf
+            /* Digital Mars adds count to _stprintf (C99) so prototype conversion see wxchar.cpp */
+            int wxSprintf (wchar_t * __RESTRICT s, const wchar_t * __RESTRICT format, ... ) ;
         #else
+            /* and there is a bug in D Mars tchar.h prior to 8.39.4n, so define as sprintf */
             #define wxSprintf sprintf
         #endif
     #else