def ShowDockingGuides(guides, show):
    """
    Shows or hide the docking guide windows.

    :param `guides`: a list of :class:`AuiDockingGuide` classes;
    :param bool `show`: whether to show or hide the docking guide windows.
    """
    for target in guides:
        if show and not target.host.IsShown():
            target.host.Show()
            target.host.Update()
        elif not show and target.host.IsShown():
            target.host.Hide()
