From e5fbeb79c12b9fa25c4a370e44693c613f45b367 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 7 Feb 2009 19:32:05 +0000 Subject: [PATCH] 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 --- utils/wxrc/wxrc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.45.2