From 3a48624f108b7cff8dd67a018aac8d31083439e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 17 Apr 2000 22:44:27 +0000 Subject: [PATCH] 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 --- src/generic/logg.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index a21c021b9b..784b8d2bf4 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -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()