fixed copy-paste losing formatting on Windows
was caused by wxWidgets fixing a bug that I had a workaround for :)