X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7266b6723573ce6317577226cb1e5d32826e24e8..73ef393701bd6c2c689a05d5637cc701e2f5cc2f:/src/x11/utils.cpp diff --git a/src/x11/utils.cpp b/src/x11/utils.cpp index d6b5b7df84..eef7ceb4ec 100644 --- a/src/x11/utils.cpp +++ b/src/x11/utils.cpp @@ -152,9 +152,11 @@ static void xt_notify_end_process(XtPointer data, int *WXUNUSED(fid), XtRemoveInput(*id); } +#endif int wxAddProcessCallback(wxEndProcessData *proc_data, int fd) { +#if 0 XtInputId id = XtAppAddInput((XtAppContext) wxTheApp->GetAppContext(), fd, (XtPointer *) XtInputReadMask, @@ -162,8 +164,8 @@ int wxAddProcessCallback(wxEndProcessData *proc_data, int fd) (XtPointer) proc_data); return (int)id; -} #endif +} // ---------------------------------------------------------------------------- // misc @@ -178,25 +180,11 @@ void wxBell() int wxGetOsVersion(int *majorVsn, int *minorVsn) { -#if 0 - // FIXME TODO - // This code is WRONG!! Does NOT return the - // Motif version of the libs but the X protocol - // version! - Display *display = XtDisplay ((Widget) wxTheApp->GetTopLevelWidget()); - if (majorVsn) - *majorVsn = ProtocolVersion (display); - if (minorVsn) - *minorVsn = ProtocolRevision (display); - - return wxMOTIF_X; -#else if (majorVsn) *majorVsn = 0; if (minorVsn) *minorVsn = 0; return wxX11; -#endif } // ----------------------------------------------------------------------------