really fix compilation in !wxUSE_LOG_DIALOG case (still #10411)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
05527158e5
commit
14fd5e968b
@ -341,7 +341,7 @@ wxLogGui::DoShowMultipleLogMessages(const wxArrayString& messages,
|
||||
// start from the most recent message
|
||||
wxString message;
|
||||
const size_t nMsgCount = messages.size();
|
||||
str.reserve(nMsgCount*100);
|
||||
message.reserve(nMsgCount*100);
|
||||
for ( size_t n = nMsgCount; n > 0; n-- ) {
|
||||
message << m_aMessages[n - 1] << wxT("\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user