mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-17 06:11:49 +01:00
Fix pour la compilation windows, et la compatibilit avec wxWindows 2.5
(pas encore suffisant)
This commit is contained in:
parent
3241a1c1af
commit
61963c0fe0
4 changed files with 14 additions and 12 deletions
|
@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script.
|
||||||
dnl --------------------------------------------------------------
|
dnl --------------------------------------------------------------
|
||||||
dnl configure.in for Eliot
|
dnl configure.in for Eliot
|
||||||
dnl --------------------------------------------------------------
|
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)
|
AC_INIT(wxwin/main.cc)
|
||||||
AM_INIT_AUTOMAKE(eliot, 1.4)
|
AM_INIT_AUTOMAKE(eliot, 1.4)
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
@ -42,7 +42,7 @@ dnl --------------------------------------------------------------
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
dnl --------------------------------------------------------------
|
dnl --------------------------------------------------------------
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS(fcntl.h unistd.h)
|
AC_CHECK_HEADERS(fcntl.h unistd.h sys/wait.h)
|
||||||
|
|
||||||
dnl --------------------------------------------------------------
|
dnl --------------------------------------------------------------
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
|
|
@ -16,21 +16,23 @@
|
||||||
/* along with this program; if not, write to the Free Software */
|
/* along with this program; if not, write to the Free Software */
|
||||||
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
/* 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 <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/wait.h>
|
#ifdef HAVE_SYS_WAIT_H
|
||||||
|
# include <sys/wait.h>
|
||||||
|
#endif
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "automaton.h"
|
#include "automaton.h"
|
||||||
|
|
||||||
#ifndef PDBG
|
#ifndef PDBG
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#define PDBG(x) { x ; }
|
# define PDBG(x) { x ; }
|
||||||
#else
|
#else
|
||||||
#define PDBG(x) { }
|
# define PDBG(x) { }
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
/* along with this program; if not, write to the Free Software */
|
/* along with this program; if not, write to the Free Software */
|
||||||
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
/* 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 <iostream>
|
#include <iostream>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -293,7 +293,7 @@ AuxFrameList::OnCopy(wxCommandEvent& event)
|
||||||
if (wxTheClipboard->Open())
|
if (wxTheClipboard->Open())
|
||||||
{
|
{
|
||||||
textdata = "";
|
textdata = "";
|
||||||
for(int i=0; i < listbox->Number(); i++)
|
for(int i=0; i < listbox->GetCount(); i++)
|
||||||
{
|
{
|
||||||
textdata << listbox->GetString(i) << "\n";
|
textdata << listbox->GetString(i) << "\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
/* along with this program; if not, write to the Free Software */
|
/* along with this program; if not, write to the Free Software */
|
||||||
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
/* 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 <string.h>
|
#include <string.h>
|
||||||
#include "ewx.h"
|
#include "ewx.h"
|
||||||
|
@ -140,7 +140,7 @@ PCross::compute_enter(wxCommandEvent&)
|
||||||
res[resnum++] = wxString(buff[i]);
|
res[resnum++] = wxString(buff[i]);
|
||||||
l->Set(resnum,res);
|
l->Set(resnum,res);
|
||||||
|
|
||||||
if (l->Number() == 0)
|
if (l->GetCount() == 0)
|
||||||
l->Append("Aucun résultat");
|
l->Append("Aucun résultat");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -189,7 +189,7 @@ PPlus1::compute_enter(wxCommandEvent&)
|
||||||
}
|
}
|
||||||
l->Set(resnum,res);
|
l->Set(resnum,res);
|
||||||
|
|
||||||
if (l->Number() == 0)
|
if (l->GetCount() == 0)
|
||||||
l->Append("Aucun résultat");
|
l->Append("Aucun résultat");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@ PRegExp::compute_enter(wxCommandEvent&)
|
||||||
res[resnum++] = wxString(buff[i]);
|
res[resnum++] = wxString(buff[i]);
|
||||||
l->Set(resnum,res);
|
l->Set(resnum,res);
|
||||||
|
|
||||||
if (l->Number() == 0)
|
if (l->GetCount() == 0)
|
||||||
l->Append("Aucun résultat");
|
l->Append("Aucun résultat");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue