Use wxWindowID in wxNewId() and related functions.
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 11 Jul 2013 06:58:35 +0000 (06:58 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 11 Jul 2013 06:58:35 +0000 (06:58 +0000)
commit1c6a98048b47cf1dd1926e97f94abe81a3fded1e
treec5400c166bbe274087ac147288a1583b2743f106
parent7e05f038b9fe89edac2ffec5d1170faa1f1aed7f
Use wxWindowID in wxNewId() and related functions.

wxNewId(), wxRegisterId() and wxGetCurrentId() functions all work with
window IDs, so they should use the dedicated type. Previously, they
worked with long, which is not even the same type (wxWindowID is int),
causing implicit type conversion warnings.

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