]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/sourcepainter.cpp
Now adds 'include file' heading
[wxWidgets.git] / utils / HelpGen / src / sourcepainter.cpp
index 9e24ea95dd7bb50296c85eb7ccf514fa62e3e2e3..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;