Fix GetToolBar() related WXMSW crash