Fix gcc warnings about testing undefined preprocessor symbol.

Use #ifdef instead of #if to test for __WXPALMOS[56]__.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-04-12 11:21:45 +00:00
parent 43b5ebf2a5
commit 0e9eb80c39

View File

@@ -337,9 +337,9 @@ bool WidgetsApp::OnInit()
title += wxT("wxMAC");
#elif defined(__WXMOTIF__)
title += wxT("wxMOTIF");
#elif __WXPALMOS5__
#elif defined(__WXPALMOS5__)
title += wxT("wxPALMOS5");
#elif __WXPALMOS6__
#elif defined(__WXPALMOS6__)
title += wxT("wxPALMOS6");
#else
title += wxT("wxWidgets");