Bitwise OR bug

Robin, here’s another little bug. I scanned through the rest of the agw/aui code and didn’t find any others like this.

In wx/lib/agw/aui/framemanager.py line 1286

   return self.SetFlag(self.optionMaximized or self.optionMinimized, False)

should be

···
   return self.SetFlag(self.optionMaximized | self.optionMinimized, False)

New issue added at Bitwise OR bug · Issue #493 · wxWidgets/Phoenix · GitHub

Robin

···

On Wednesday, August 30, 2017 at 6:52:32 AM UTC-7, Eric Fahlgren wrote:

Robin, here’s another little bug. I scanned through the rest of the agw/aui code and didn’t find any others like this.

In wx/lib/agw/aui/framemanager.py line 1286

   return self.SetFlag(self.optionMaximized or self.optionMinimized, False)

should be

   return self.SetFlag(self.optionMaximized | self.optionMinimized, False)