wxGTK-only fix for WindowMaker redraw problem in wxLogDialog::OnDetails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -885,9 +885,12 @@ void wxLogDialog::OnDetails(wxCommandEvent& WXUNUSED(event))
|
||||
// in any case, our size changed - update
|
||||
sizer->SetSizeHints(this);
|
||||
sizer->Fit(this);
|
||||
// JACS: can't call Show again, because it's a modal dialog
|
||||
// and will generate an assert under MSW.
|
||||
//Show(TRUE);
|
||||
#ifdef __WXGTK__
|
||||
Show(TRUE);
|
||||
// VS: this is neccessary in order to force frame redraw under
|
||||
// WindowMaker or fvwm2 (and probably other broken WMs).
|
||||
// Otherwise, detailed list wouldn't be displayed.
|
||||
#endif
|
||||
}
|
||||
|
||||
wxLogDialog::~wxLogDialog()
|
||||
|
Reference in New Issue
Block a user