for ( size_t n = 0; n < count; n++ )
{
wxString msg = messages[n];
- msg.Replace("\n", " ");
+ msg.Replace(wxT("\n"), wxT(" "));
m_messages.Add(msg);
m_severity.Add(severity[n]);
m_times.Add(times[n]);
heightMax *= 9;
heightMax /= 10;
- m_listctrl->SetSize(wxDefaultSize.x, wxMin(height, heightMax));
+ m_listctrl->SetSize(wxDefaultCoord, wxMin(height, heightMax));
}
void wxLogDialog::OnListSelect(wxListEvent& event)
SetSizeHints(size.x, size.y, m_maxWidth, m_maxHeight);
// don't change the width when expanding/collapsing
- SetSize(wxDefaultSize.x, size.y);
+ SetSize(wxDefaultCoord, size.y);
#ifdef __WXGTK__
// VS: this is neccessary in order to force frame redraw under