git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44877
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- bool IsRealClass(const wxString& name)
+ bool CanBeUsedWithXRCCTRL(const wxString& name)
{
if (name == _T("tool") ||
name == _T("unknown") ||
{
if (name == _T("tool") ||
name == _T("unknown") ||
for(i=0;i<m_wdata.Count();++i)
{
const XRCWidgetData& w = m_wdata.Item(i);
for(i=0;i<m_wdata.Count();++i)
{
const XRCWidgetData& w = m_wdata.Item(i);
- if( !IsRealClass(w.GetClass()) ) continue;
+ if( !CanBeUsedWithXRCCTRL(w.GetClass()) ) continue;
if( w.GetName().Length() == 0 ) continue;
file.Write(
_T(" ") + w.GetClass() + _T("* ") + w.GetName()
if( w.GetName().Length() == 0 ) continue;
file.Write(
_T(" ") + w.GetClass() + _T("* ") + w.GetName()
for(i=0;i<m_wdata.Count();++i)
{
const XRCWidgetData& w = m_wdata.Item(i);
for(i=0;i<m_wdata.Count();++i)
{
const XRCWidgetData& w = m_wdata.Item(i);
- if( !IsRealClass(w.GetClass()) ) continue;
+ if( !CanBeUsedWithXRCCTRL(w.GetClass()) ) continue;
if( w.GetName().Length() == 0 ) continue;
file.Write( _T(" ")
+ w.GetName()
if( w.GetName().Length() == 0 ) continue;
file.Write( _T(" ")
+ w.GetName()