do nothing in ShowHidden() if the flag doesn't change (patch 1678963)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-03-16 00:30:33 +00:00
parent e26d5213ec
commit 9092371c0a

View File

@ -635,6 +635,9 @@ wxTreeCtrl* wxGenericDirCtrl::CreateTreeCtrl(wxWindow *parent, wxWindowID id, co
void wxGenericDirCtrl::ShowHidden( bool show )
{
if ( m_showHidden == show )
return;
m_showHidden = show;
wxString path = GetPath();