Allowed for wxHAVE_LIB_XPM or using wxXPMDecoder

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-02-13 18:01:38 +00:00
parent 61aa560b2d
commit 707440dc36
3 changed files with 129 additions and 4 deletions

View File

@@ -165,9 +165,11 @@ static void xt_notify_end_process(XtPointer data, int *WXUNUSED(fid),
XtRemoveInput(*id);
}
#endif
int wxAddProcessCallback(wxEndProcessData *proc_data, int fd)
{
#ifdef __WXMOTIF__
XtInputId id = XtAppAddInput((XtAppContext) wxTheApp->GetAppContext(),
fd,
(XtPointer *) XtInputReadMask,
@@ -175,8 +177,12 @@ int wxAddProcessCallback(wxEndProcessData *proc_data, int fd)
(XtPointer) proc_data);
return (int)id;
}
#endif
#ifdef __WXX11__
// TODO
return 0;
#endif
}
// ----------------------------------------------------------------------------
// misc