Skip to content

Commit

Permalink
Compilation fix for wxMSW with wxUSE_TOOLTIPS==0.
Browse files Browse the repository at this point in the history
This is another fix after the changes of r76657, see #16265.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
  • Loading branch information
vadz committed Jun 5, 2014
1 parent d8933b2 commit be35fb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/msw/toplevel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,8 +719,10 @@ void wxTopLevelWindowMSW::DoShowWindow(int nShowCmd)
m_iconized = nShowCmd == SW_MINIMIZE;
}

#if wxUSE_TOOLTIPS
// Don't leave a tooltip hanging around if TLW is hidden now.
wxToolTip::UpdateVisibility();
#endif // wxUSE_TOOLTIPS
}

void wxTopLevelWindowMSW::ShowWithoutActivating()
Expand Down

0 comments on commit be35fb7

Please sign in to comment.