diff --git a/configure.in b/configure.in index 63f35f1..801cc91 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script. dnl -------------------------------------------------------------- dnl configure.in for Eliot dnl -------------------------------------------------------------- -dnl AC_REVISION($Id: configure.in,v 1.3 2004/04/08 10:21:56 afrab Exp $) +dnl AC_REVISION($Id: configure.in,v 1.4 2004/06/22 21:04:07 ipkiss Exp $) AC_INIT(wxwin/main.cc) AM_INIT_AUTOMAKE(eliot, 1.4) AM_CONFIG_HEADER(config.h) @@ -42,7 +42,7 @@ dnl -------------------------------------------------------------- dnl Checks for header files. dnl -------------------------------------------------------------- AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h unistd.h) +AC_CHECK_HEADERS(fcntl.h unistd.h sys/wait.h) dnl -------------------------------------------------------------- dnl Checks for typedefs, structures, and compiler characteristics. diff --git a/dic/automaton.c b/dic/automaton.c index f53b12c..b7d0f6f 100644 --- a/dic/automaton.c +++ b/dic/automaton.c @@ -16,21 +16,23 @@ /* along with this program; if not, write to the Free Software */ /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* - * $Id: automaton.c,v 1.1 2004/06/20 20:13:59 afrab Exp $ + * $Id: automaton.c,v 1.2 2004/06/22 21:04:08 ipkiss Exp $ */ #include #include #include #include -#include +#ifdef HAVE_SYS_WAIT_H +# include +#endif #include #include "automaton.h" #ifndef PDBG #ifdef DEBUG -#define PDBG(x) { x ; } +# define PDBG(x) { x ; } #else -#define PDBG(x) { } +# define PDBG(x) { } #endif #endif diff --git a/wxwin/auxframes.cc b/wxwin/auxframes.cc index 5929e06..66396bb 100644 --- a/wxwin/auxframes.cc +++ b/wxwin/auxframes.cc @@ -16,7 +16,7 @@ /* along with this program; if not, write to the Free Software */ /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: auxframes.cc,v 1.2 2004/06/20 20:00:09 afrab Exp $ */ +/* $Id: auxframes.cc,v 1.3 2004/06/22 21:04:08 ipkiss Exp $ */ #include using namespace std; @@ -293,7 +293,7 @@ AuxFrameList::OnCopy(wxCommandEvent& event) if (wxTheClipboard->Open()) { textdata = ""; - for(int i=0; i < listbox->Number(); i++) + for(int i=0; i < listbox->GetCount(); i++) { textdata << listbox->GetString(i) << "\n"; } diff --git a/wxwin/searchpanel.cc b/wxwin/searchpanel.cc index 9834082..54d0970 100644 --- a/wxwin/searchpanel.cc +++ b/wxwin/searchpanel.cc @@ -16,7 +16,7 @@ /* along with this program; if not, write to the Free Software */ /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: searchpanel.cc,v 1.2 2004/06/19 18:43:35 afrab Exp $ */ +/* $Id: searchpanel.cc,v 1.3 2004/06/22 21:04:09 ipkiss Exp $ */ #include #include "ewx.h" @@ -140,7 +140,7 @@ PCross::compute_enter(wxCommandEvent&) res[resnum++] = wxString(buff[i]); l->Set(resnum,res); - if (l->Number() == 0) + if (l->GetCount() == 0) l->Append("Aucun résultat"); } @@ -189,7 +189,7 @@ PPlus1::compute_enter(wxCommandEvent&) } l->Set(resnum,res); - if (l->Number() == 0) + if (l->GetCount() == 0) l->Append("Aucun résultat"); } @@ -225,7 +225,7 @@ PRegExp::compute_enter(wxCommandEvent&) res[resnum++] = wxString(buff[i]); l->Set(resnum,res); - if (l->Number() == 0) + if (l->GetCount() == 0) l->Append("Aucun résultat"); }