]> git.saurik.com Git - wxWidgets.git/commit
Use int instead of wxWindowID in wxNewId() and friends.
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 11 Jul 2013 07:53:35 +0000 (07:53 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 11 Jul 2013 07:53:35 +0000 (07:53 +0000)
commit19c453d0aca1b76b201d0acf874b01efc2241b6a
tree261fd6364e11de0c7830c69b133c4fa6179da26a
parent1c6a98048b47cf1dd1926e97f94abe81a3fded1e
Use int instead of wxWindowID in wxNewId() and friends.

The functions are available in wxBase builds too, but wx/windowid.h
isn't. Rather than always including that header, just use int, for which
wxWindowID is a typedef. This keeps the functions available in wxBase
for compatibility and is consistent with how IDs are handled in other
parts of wxBase, particularly wxEvent.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/utils.h
interface/wx/utils.h
src/common/utilscmn.cpp