make compatible with wxWidgets 2.6 (under Windows)