X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff0a9f8d18a8d3bbb5377990e97d9ee16f52b1d4..c22edec9fceab1ddd75f886008dbd6218446201c:/src/generic/logg.cpp diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 70cdb8e288..a82efb7163 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -929,7 +929,7 @@ void wxLogDialog::CreateDetailsControls() heightMax *= 9; heightMax /= 10; - m_listctrl->SetSize(wxDefaultSize.x, wxMin(height, heightMax)); + m_listctrl->SetSize(wxDefaultCoord, wxMin(height, heightMax)); } void wxLogDialog::OnListSelect(wxListEvent& event) @@ -1065,7 +1065,7 @@ void wxLogDialog::OnDetails(wxCommandEvent& WXUNUSED(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