Merge branch 'fixes' into main/rendor-staging
[ryzomcore.git] / ryzom / tools / leveldesign / georges_plugin_sound / PageBase.cpp
blob40b3a9bc27b6a1aec7ac6adb9d76d8daef16b713
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #include "std_sound_plugin.h"
18 #include "PageBase.h"
22 #undef new
23 IMPLEMENT_DYNCREATE(CPageBase, CPropertyPage)
24 #define new NL_NEW
27 std::set<CPageBase*> CPageBase::_AllPages;
30 void CPageBase::docChanged()
32 AFX_MANAGE_STATE(AfxGetStaticModuleState());
33 std::set<CPageBase*>::iterator first(_AllPages.begin()), last(_AllPages.end());
34 for(; first != last; ++first)
36 CPageBase *page = (*first);
37 if (page->m_hWnd != NULL)
38 (*first)->onDocChanged();