Adds WinFlags to the editor