improvements for wx-qt support