]> git.saurik.com Git - wxWidgets.git/commit - src/common/popupcmn.cpp
Fix warnings about wxOSX_USE_CARBON being undefined when using g++.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Oct 2011 17:12:42 +0000 (17:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Oct 2011 17:12:42 +0000 (17:12 +0000)
commit7652eada41bd276c5ab12b9a55d51f14ddc48483
treed631ef4a52fdd67f2901da3c54c36924c428d53e
parent3648be1f8f05e462cd9cc1cf6b5428023a44e034
Fix warnings about wxOSX_USE_CARBON being undefined when using g++.

Test for __WXMAC__ before testing wxOSX_USE_CARBON to avoid -Wundef warnings
from g++ in non-Mac builds.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/popupwin.h
src/common/popupcmn.cpp