From: George Tasker Date: Wed, 16 Jan 2002 13:39:50 +0000 (+0000) Subject: Added checks for wxUSE_IOSTREAMH to determine which iostream(.h) to use X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6535dbafaff59e14c9a315a46af63b4bb4846025 Added checks for wxUSE_IOSTREAMH to determine which iostream(.h) to use git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/richedit/kbList.cpp b/samples/richedit/kbList.cpp index a5798fc6cc..37af1ce9da 100644 --- a/samples/richedit/kbList.cpp +++ b/samples/richedit/kbList.cpp @@ -6,6 +6,9 @@ * $Id$ * * * * $Log$ + * Revision 1.2 2002/01/16 13:39:50 GT + * Added checks for wxUSE_IOSTREAMH to determine which iostream(.h) to use + * * Revision 1.1 1999/06/07 09:57:12 KB * Formerly known as wxLayout. * @@ -291,7 +294,11 @@ kbList::size(void) const // inefficient #ifdef KBLIST_TEST -#include +#if wxUSE_IOSTREAMH + #include +#else + #include +#endif KBLIST_DEFINE(kbListInt,int); diff --git a/samples/richedit/wxLayout.cpp b/samples/richedit/wxLayout.cpp index a37c580265..89fe57e094 100644 --- a/samples/richedit/wxLayout.cpp +++ b/samples/richedit/wxLayout.cpp @@ -20,7 +20,11 @@ #include #include -#include +#if wxUSE_IOSTREAMH + #include +#else + #include +#endif #include "Micon.xpm" diff --git a/samples/richedit/wxllist.cpp b/samples/richedit/wxllist.cpp index 316ee18129..3e696cde7e 100644 --- a/samples/richedit/wxllist.cpp +++ b/samples/richedit/wxllist.cpp @@ -45,7 +45,11 @@ #endif #ifndef USE_PCH -# include +#if wxUSE_IOSTREAMH + #include +#else + #include +#endif # include # include