From 6c0613fd6aedfa88ba2dcaecc2cdf0673171fed6 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Tue, 7 Aug 2012 16:43:56 +0000 Subject: [PATCH] silence GCC warning suggesting parentheses git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/prntbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index d78cc04595..b1bb44c064 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -1710,7 +1710,7 @@ void wxPreviewFrame::InitializeWithModality(wxPreviewFrameModalityKind kind) // Behave like modal dialogs, don't show in taskbar. This implies // removing the minimize box, because minimizing windows without // taskbar entry is confusing. - SetWindowStyle(GetWindowStyle() & ~wxMINIMIZE_BOX | wxFRAME_NO_TASKBAR); + SetWindowStyle((GetWindowStyle() & ~wxMINIMIZE_BOX) | wxFRAME_NO_TASKBAR); } Layout(); -- 2.45.2