Fixed compilation by removing stream inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -30,12 +30,6 @@
|
||||
#undef new
|
||||
#endif
|
||||
|
||||
#if wxUSE_IOSTREAMH
|
||||
#include <iostream.h>
|
||||
#else
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
|
@@ -30,12 +30,6 @@
|
||||
#undef new
|
||||
#endif
|
||||
|
||||
#if wxUSE_IOSTREAMH
|
||||
#include <iostream.h>
|
||||
#else
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
|
@@ -30,12 +30,6 @@
|
||||
#undef new
|
||||
#endif
|
||||
|
||||
#if wxUSE_IOSTREAMH
|
||||
#include <iostream.h>
|
||||
#else
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
@@ -31,12 +31,6 @@
|
||||
#undef new
|
||||
#endif
|
||||
|
||||
#if wxUSE_IOSTREAMH
|
||||
#include <iostream.h>
|
||||
#else
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
|
||||
|
@@ -32,11 +32,6 @@
|
||||
#undef new
|
||||
#endif
|
||||
|
||||
#if wxUSE_IOSTREAMH
|
||||
#include <iostream.h>
|
||||
#else
|
||||
#include <iostream>
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
@@ -30,17 +30,6 @@
|
||||
#undef new
|
||||
#endif
|
||||
|
||||
#if wxUSE_IOSTREAMH
|
||||
#include <iostream.h>
|
||||
#include <fstream.h>
|
||||
#else
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#ifdef _MSC_VER
|
||||
//using namespace std;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
@@ -32,11 +32,6 @@
|
||||
#undef new
|
||||
#endif
|
||||
|
||||
#if wxUSE_IOSTREAMH
|
||||
#include <iostream.h>
|
||||
#else
|
||||
#include <iostream>
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
@@ -1182,10 +1182,21 @@ static XRCID_record *XRCID_Records[XRCID_TABLE_SIZE] = {NULL};
|
||||
XRCID_record **rec_var = (oldrec == NULL) ?
|
||||
&XRCID_Records[index] : &oldrec->next;
|
||||
*rec_var = new XRCID_record;
|
||||
(*rec_var)->id = ++XRCID_LastID;
|
||||
(*rec_var)->key = wxStrdup(str_id);
|
||||
(*rec_var)->next = NULL;
|
||||
|
||||
wxChar *end;
|
||||
int asint = wxStrtol(str_id, &end, 10);
|
||||
if (*str_id && *end == 0)
|
||||
{
|
||||
// if str_id was integer, keep it verbosely:
|
||||
(*rec_var)->id = asint;
|
||||
}
|
||||
else
|
||||
{
|
||||
(*rec_var)->id = ++XRCID_LastID;
|
||||
}
|
||||
|
||||
return (*rec_var)->id;
|
||||
}
|
||||
|
||||
|
@@ -1182,10 +1182,21 @@ static XRCID_record *XRCID_Records[XRCID_TABLE_SIZE] = {NULL};
|
||||
XRCID_record **rec_var = (oldrec == NULL) ?
|
||||
&XRCID_Records[index] : &oldrec->next;
|
||||
*rec_var = new XRCID_record;
|
||||
(*rec_var)->id = ++XRCID_LastID;
|
||||
(*rec_var)->key = wxStrdup(str_id);
|
||||
(*rec_var)->next = NULL;
|
||||
|
||||
wxChar *end;
|
||||
int asint = wxStrtol(str_id, &end, 10);
|
||||
if (*str_id && *end == 0)
|
||||
{
|
||||
// if str_id was integer, keep it verbosely:
|
||||
(*rec_var)->id = asint;
|
||||
}
|
||||
else
|
||||
{
|
||||
(*rec_var)->id = ++XRCID_LastID;
|
||||
}
|
||||
|
||||
return (*rec_var)->id;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user