From 76ff8ed6736af1c5d6fe8ba3280c02ff55b54a6a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 17 Mar 2007 16:46:23 +0000 Subject: [PATCH] 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 --- utils/wxrc/wxrc.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index 8ac5aaef2f..f17badc498 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -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; } -- 2.45.2