]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/xmcombo/xmcombo.c
Fixed a crash when GetMonthControl returns NULL
[wxWidgets.git] / src / motif / xmcombo / xmcombo.c
index dd806ccae9ec14413094053752236fbf9cb3e1ba..b5e148b62969e0cd1ce9190ac9df40675d78683d 100644 (file)
@@ -557,7 +557,10 @@ static XtActionsRec actions[] = {
  * durchgefuehrt werden.
  */
 static XtTranslations NewEditTranslations, NewEditTranslationsNE, 
-                      NewListTranslations, NewListTranslationsE;
+#ifdef NODRAGNDROP
+                      NewListTranslations,
+#endif
+                      NewListTranslationsE;
 
 static XtConvertArgRec ConverterScreenConvertArg[] = {
     { XtBaseOffset, (XtPointer) XtOffset(Widget, core.screen), 
@@ -1597,6 +1600,8 @@ static void GetValuesAlmost(XmComboBoxWidget w, ArgList args,
                            break;
                        }
                    break;
+        case RWIGNORE:
+            ;
                } /* case read mode */
            } /* if entry found */
        } /* for every mirrored entry */