]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/sourcepainter.cpp
Better doc
[wxWidgets.git] / utils / HelpGen / src / sourcepainter.cpp
index fbabb6644641ef54a55cb9a5d9d386272b389544..487600935830a3f66b1ca9de7ef770705d8bf70a 100644 (file)
 #endif
 
 #if defined( wxUSE_TEMPLATE_STL )
-
-       #include <map>
+#  include <map>
 #else
-
-       #include "wxstlac.h"
-
+#  include "wxstlac.h"
 #endif
 
 #include "sourcepainter.h"
@@ -403,10 +400,12 @@ void check_keyword_map( int keywordMapNr )
                // "make sure" the address of the first member of non-polimorphic class
                // coinsides with the address of the instance
 
+/*
                KeywordT dummy;
 
                if ( (char*)& dummy != &dummy.keyWord[0] )
                        throw;
+*/
 
                int size = sizeof(__gKeyWords) / sizeof( KeywordT );
 
@@ -637,7 +636,7 @@ void SourcePainter::GetResultString(string& result, MarkupTagsT tags)
 {
        // this method works, only if results of processing 
        // are collected
-       ASSERT( mCollectResultsOn ); 
+       // ASSERT( mCollectResultsOn ); 
        result = "";
 
        int pos = 0;