]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix gcc warnings about testing undefined preprocessor symbol.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Apr 2010 11:21:45 +0000 (11:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Apr 2010 11:21:45 +0000 (11:21 +0000)
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

samples/widgets/widgets.cpp

index eeb9041ff71b3405853368b36638b7dbd6d18aef..3e3b2b23affe8f6d1b9f9e268b72862a83109c77 100644 (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");