]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/scriptbinder.h
Build fix for wxMGL found in Tinderbox logs.
[wxWidgets.git] / utils / HelpGen / src / scriptbinder.h
index 17c52ffcb51b6023a19e1c32b14f0b9cb853ad57..f95bdcc8d335fb0298053f4936e5321220087d09 100644 (file)
        #include "wxstlvec.h"
        #include "wx/string.h"
        
-       // FIXME:: dirty!
-       typedef wxString string;
+       #ifdef wxUSE_STD_STRING
+               using std::string;
+       #else
+               // FIXME:: dirty!
+               typedef wxString string;
+       #endif
 
 #endif
 
@@ -327,7 +331,7 @@ protected:
        // return FALSE, if something has gone wrong and
        // document cannot be saved now
 
-       virtual bool OnSaveDocument( ScriptStream& stm ) 
+       virtual bool OnSaveDocument( ScriptStream& WXUNUSED(stm) ) 
                { return 1; }
 
        // override this method to provide reference to