don't try to use XRCCTRL() with wxMenuBar or wxStaticBoxSizer, this fails (at run- or compile-time) (1st part of patch 1596624)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-03-17 16:46:23 +00:00
parent 9076e56d93
commit 76ff8ed673

View File

@ -116,7 +116,9 @@ public:
name == _T("notebookpage") ||
name == _T("separator") ||
name == _T("sizeritem") ||
name == _T("wxMenuItem"))
name == _T("wxMenuBar") ||
name == _T("wxMenuItem") ||
name == _T("wxStaticBoxSizer") )
{
return false;
}