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:
@@ -635,6 +635,9 @@ wxTreeCtrl* wxGenericDirCtrl::CreateTreeCtrl(wxWindow *parent, wxWindowID id, co
|
|||||||
|
|
||||||
void wxGenericDirCtrl::ShowHidden( bool show )
|
void wxGenericDirCtrl::ShowHidden( bool show )
|
||||||
{
|
{
|
||||||
|
if ( m_showHidden == show )
|
||||||
|
return;
|
||||||
|
|
||||||
m_showHidden = show;
|
m_showHidden = show;
|
||||||
|
|
||||||
wxString path = GetPath();
|
wxString path = GetPath();
|
||||||
|
Reference in New Issue
Block a user