]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/containr.cpp
NULL is not bool.
[wxWidgets.git] / src / common / containr.cpp
index 84ca21a7ccdeeddae2df141cb706aed810ee10f7..5bfc812f78726e1ca91a3d7b2499191c7d657803 100644 (file)
@@ -291,7 +291,7 @@ void wxControlContainer::HandleOnNavigationKey( wxNavigationKeyEvent& event )
 
         wxWindow *child = node->GetData();
 
-#ifdef __WXMSW__
+#if defined(__WXMSW__) && !defined(__PALMOS__)
         bool is_not_msw_rb = !m_winLastFocused ||
                                 !wxIsKindOf(m_winLastFocused,wxRadioButton);
 #else
@@ -306,7 +306,7 @@ void wxControlContainer::HandleOnNavigationKey( wxNavigationKeyEvent& event )
             // direction we're coming
             event.SetEventObject(m_winParent);
 
-#ifdef __WXMSW__
+#if defined(__WXMSW__) && !defined(__PALMOS__)
             // we need to hop to the next activated
             // radio button, not just the next radio
             // button under MSW