]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/wxpresets/presets/wx_presets.py
Convert wxFSW_EVENT_{WARNING,ERROR} to string correctly.
[wxWidgets.git] / build / bakefiles / wxpresets / presets / wx_presets.py
1
2 # We use 'COMPILER_PREFIX' option in places where bakefile doesn't like it, so
3 # we must register a substitution function for it that provides additional
4 # knowledge about the option (in this case that it does not contain dir
5 # separators and so utils.nativePaths() doesn't have to do anything with it):
6
7 from utils import addSubstituteCallback
8
9 def __noopSubst(name, func, caller):
10 return '$(%s)' % name
11 addSubstituteCallback('COMPILER_PREFIX', __noopSubst)