Make non-bundled apps work with wxmac 3.0.0

Non-bundled apps (e.g. gnuplot) do not show
the wx window with wxmac 3.0.0 (or show it after
a huge amount of time).

The upstream patch included here fixes this.