- wxASSERT_MSG( menu, "invalid drop down object contents" );
-
- wxASSERT_MSG( !nodeMenu->GetNext(),
- "only single menu tag allowed inside dropdown" );
+ if ( !menu )
+ {
+ wxLogError(_("XRC syntax error: invalid drop-down tool "
+ "contents (expected a menu)."));
+ }
+
+ if ( nodeMenu->GetNext() )
+ {
+ wxLogWarning(_("XRC syntax error: unexpected extra "
+ "contents under drop-down tool."));
+ }