]> git.saurik.com Git - wxWidgets.git/commitdiff
don't try to use XRCCTRL() with wxMenuBar or wxStaticBoxSizer, this fails (at run...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Mar 2007 16:46:23 +0000 (16:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Mar 2007 16:46:23 +0000 (16:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/wxrc/wxrc.cpp

index 8ac5aaef2f6631097b0235fd63943a743abdfe15..f17badc498df454bdc642d067f110c5edc95e284 100644 (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;
         }