]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/sourcepainter.cpp
hopefully fixes focus assertion
[wxWidgets.git] / utils / HelpGen / src / sourcepainter.cpp
index 9e24ea95dd7bb50296c85eb7ccf514fa62e3e2e3..6814b5ffee11646deda9c4be4a4ce75f0852ca31 100644 (file)
@@ -25,7 +25,7 @@
        #include <map>
 #else
 
-       #include <wxstlac.h>
+       #include "wxstlac.h"
 
 #endif
 
@@ -403,10 +403,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 +639,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;