projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small bug fix for composite options
[wxWidgets.git]
/
src
/
generic
/
logg.cpp
diff --git
a/src/generic/logg.cpp
b/src/generic/logg.cpp
index 9164360cecfadd3b4befd108d15139ee43392697..c38a09de2700549ff203c43fa804ac655615f086 100644
(file)
--- a/
src/generic/logg.cpp
+++ b/
src/generic/logg.cpp
@@
-99,7
+99,7
@@
void wxLogTextCtrl::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
{
wxString msg;
TimeStamp(&msg);
{
wxString msg;
TimeStamp(&msg);
- msg << szString << T('\n');
+ msg << szString <<
wx
T('\n');
m_pTextCtrl->AppendText(msg);
}
m_pTextCtrl->AppendText(msg);
}
@@
-143,7
+143,7
@@
void wxLogGui::Flush()
if ( nLines > 25 ) // don't put too many lines in message box
break;
if ( nLines > 25 ) // don't put too many lines in message box
break;
- str << m_aMessages[n - 1] << T("\n");
+ str << m_aMessages[n - 1] <<
wx
T("\n");
}
const wxChar *title;
}
const wxChar *title;
@@
-213,13
+213,13
@@
void wxLogGui::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
// debug window anyhow, but do put a timestamp
wxString str;
TimeStamp(&str);
// debug window anyhow, but do put a timestamp
wxString str;
TimeStamp(&str);
- str << szString << T("\n\r");
+ str << szString <<
wx
T("\n\r");
OutputDebugString(str);
#else
// send them to stderr
OutputDebugString(str);
#else
// send them to stderr
- wxFprintf(stderr, T("%s: %s\n"),
- level == wxLOG_Trace ? T("Trace")
- : T("Debug"),
+ wxFprintf(stderr,
wx
T("%s: %s\n"),
+ level == wxLOG_Trace ?
wx
T("Trace")
+ :
wx
T("Debug"),
szString);
fflush(stderr);
#endif
szString);
fflush(stderr);
#endif
@@
-356,7
+356,7
@@
void wxLogFrame::OnSave(wxCommandEvent& WXUNUSED(event))
{
// get the file name
// -----------------
{
// get the file name
// -----------------
- const wxChar *szFileName = wxSaveFileSelector(
T("log"), T("txt"),
T("log.txt"));
+ const wxChar *szFileName = wxSaveFileSelector(
wxT("log"), wxT("txt"), wx
T("log.txt"));
if ( szFileName == NULL ) {
// cancelled
return;
if ( szFileName == NULL ) {
// cancelled
return;
@@
-516,7
+516,7
@@
void wxLogWindow::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
wxString msg;
TimeStamp(&msg);
wxString msg;
TimeStamp(&msg);
- msg << szString << T('\n');
+ msg << szString <<
wx
T('\n');
pText->AppendText(msg);
pText->AppendText(msg);