From: Václav Slavík Date: Sat, 7 Feb 2009 19:32:05 +0000 (+0000) Subject: wxrc: fix incorrectly generated code with --extra-cpp-code (fixes #9631) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e5fbeb79c12b9fa25c4a370e44693c613f45b367 wxrc: fix incorrectly generated code with --extra-cpp-code (fixes #9631) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index 620e8d025c..0080c4e75f 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -120,9 +120,10 @@ public: name == _T("notebookpage") || name == _T("separator") || name == _T("sizeritem") || + name == _T("wxMenu") || name == _T("wxMenuBar") || name == _T("wxMenuItem") || - name == _T("wxStaticBoxSizer") ) + name.EndsWith(_T("Sizer")) ) { return false; }