Fix for issue #58: GetManager() returns the wrong manager if the queried window is itself a wxAui frame