X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af111fc33841cc8bdc4d6cf027702805333bdd2a..bb448552973769217dbbdfd25806a462351d4ba5:/src/motif/utils.cpp diff --git a/src/motif/utils.cpp b/src/motif/utils.cpp index 082d3285be..3827520517 100644 --- a/src/motif/utils.cpp +++ b/src/motif/utils.cpp @@ -41,7 +41,13 @@ #include #endif +#ifdef __VMS__ +#pragma message disable nosimpint +#endif #include +#ifdef __VMS__ +#pragma message enable nosimpint +#endif #include "wx/unix/execute.h" @@ -689,8 +695,6 @@ bool wxSetDisplay(const wxString& display_name) else return FALSE; } - - return FALSE; } wxString wxGetDisplayName() @@ -731,7 +735,8 @@ char * wxFindAccelerator (const char *s) // handling return NULL; - // The accelerator text is after the \t char. +#if 0 + // The accelerator text is after the \t char. while (*s && *s != '\t') s++; if (*s == '\0') @@ -778,6 +783,7 @@ char * wxFindAccelerator (const char *s) } delete[]tmp; return wxBuffer; +#endif } XmString wxFindAcceleratorText (const char *s) @@ -786,7 +792,8 @@ XmString wxFindAcceleratorText (const char *s) // handling return NULL; - // The accelerator text is after the \t char. +#if 0 + // The accelerator text is after the \t char. while (*s && *s != '\t') s++; if (*s == '\0') @@ -794,6 +801,7 @@ XmString wxFindAcceleratorText (const char *s) s++; XmString text = XmStringCreateSimple ((char *)s); return text; +#endif } // ----------------------------------------------------------------------------