]> git.saurik.com Git - wxWidgets.git/commit
Make wxMin, wxMax and wxClip template functions.
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 25 Oct 2010 09:43:00 +0000 (09:43 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 25 Oct 2010 09:43:00 +0000 (09:43 +0000)
commita52475807e0521097764e5fe4cc738d80f13baad
tree3995294a1d1c53017445bdc3ede1f82f3e76c838
parent1f4c7e791bed162fc1b6d3bc03d875f1b9790c15
Make wxMin, wxMax and wxClip template functions.

Previously used macro's arguments were evaluated twice, but there were
many occurences of their use in our code that didn't account for this
and used expensive-to-evaluate arguments as if they were functions.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
build/bakefiles/files.bkl
include/wx/meta/implicitconversion.h [new file with mode: 0644]
include/wx/utils.h