wxPuts() should output a trailing newline even in Unix/Unicode builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-10-11 23:49:15 +00:00
parent 8d6f95db28
commit 19b65a3033
3 changed files with 27 additions and 2 deletions

View File

@@ -393,9 +393,11 @@
#define wxNEED_UNGETC
#define wxNEED_FPUTS
#define wxNEED_PUTS
#define wxNEED_PUTC
int wxFputs(const wxChar *ch, FILE *stream);
int wxPuts(const wxChar *ws);
int wxPutc(wxChar ch, FILE *stream);
#ifdef __cplusplus
@@ -407,7 +409,6 @@
#endif
#define wxPutchar(wch) wxPutc(wch, stdout)
#define wxPuts(ws) wxFputs(ws, stdout)
#define wxNEED_PRINTF_CONVERSION
#define wxNEED_WX_STDIO_H
@@ -498,7 +499,8 @@
#ifdef HAVE_PUTWS
#define wxPuts putws
#else
#define wxPuts(ws) wxFputs(ws, stdout)
#define wxNEED_PUTS
int wxPuts(const wxChar *ws)
#endif
/* we need %s to %ls conversion for printf and scanf etc */