]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed 2 minor warnings
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 6 Feb 2002 14:25:18 +0000 (14:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 6 Feb 2002 14:25:18 +0000 (14:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/xmcombo/xmcombo.c

index dd806ccae9ec14413094053752236fbf9cb3e1ba..b5e148b62969e0cd1ce9190ac9df40675d78683d 100644 (file)
@@ -557,7 +557,10 @@ static XtActionsRec actions[] = {
  * durchgefuehrt werden.
  */
 static XtTranslations NewEditTranslations, NewEditTranslationsNE, 
  * durchgefuehrt werden.
  */
 static XtTranslations NewEditTranslations, NewEditTranslationsNE, 
-                      NewListTranslations, NewListTranslationsE;
+#ifdef NODRAGNDROP
+                      NewListTranslations,
+#endif
+                      NewListTranslationsE;
 
 static XtConvertArgRec ConverterScreenConvertArg[] = {
     { XtBaseOffset, (XtPointer) XtOffset(Widget, core.screen), 
 
 static XtConvertArgRec ConverterScreenConvertArg[] = {
     { XtBaseOffset, (XtPointer) XtOffset(Widget, core.screen), 
@@ -1597,6 +1600,8 @@ static void GetValuesAlmost(XmComboBoxWidget w, ArgList args,
                            break;
                        }
                    break;
                            break;
                        }
                    break;
+        case RWIGNORE:
+            ;
                } /* case read mode */
            } /* if entry found */
        } /* for every mirrored entry */
                } /* case read mode */
            } /* if entry found */
        } /* for every mirrored entry */