# pragma implementation "wxlparser.h"
#endif
+#include <wx/wxprec.h>
+
+#ifdef __BORLANDC__
+# pragma hdrstop
+#endif
+
#include "Mpch.h"
+
#ifdef M_PREFIX
# include "gui/wxllist.h"
# include "gui/wxlparser.h"
*str += ((wxLayoutObjectText *)*status->m_iterator)->GetText();
break;
case WXLO_TYPE_CMD:
- wxASSERT_MSG( mode == WXLO_EXPORT_AS_HTML,
- "reached cmd object in text mode" );
-
- *str += wxLayoutExportCmdAsHTML(*(wxLayoutObjectCmd const
- *)*status->m_iterator, & status->m_si);
+ if(mode == WXLO_EXPORT_AS_HTML)
+ *str += wxLayoutExportCmdAsHTML(*(wxLayoutObjectCmd const
+ *)*status->m_iterator, & status->m_si);
break;
default: // ignore icons
;