]> git.saurik.com Git - wxWidgets.git/commitdiff
silence GCC warning suggesting parentheses
authorPaul Cornett <paulcor@bullseye.com>
Tue, 7 Aug 2012 16:43:56 +0000 (16:43 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 7 Aug 2012 16:43:56 +0000 (16:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/prntbase.cpp

index d78cc045953a7c267f4258d28a9462dd44670b1c..b1bb44c064abfebfccf50e102d60cca4fde68ea9 100644 (file)
@@ -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();