From: Václav Slavík Date: Thu, 18 Mar 2004 23:12:58 +0000 (+0000) Subject: WXUSINGDLL is defined when building samples on non-MSW platforms for simplicity,... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2a92d7e50f86b99d47dfeee34c2f5a3ce58c238e WXUSINGDLL is defined when building samples on non-MSW platforms for simplicity, corrected check for it to affect Win32 only git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index 33bb8b47d0..340e4bf278 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -33,7 +33,7 @@ // streambuf. !! Also, can't use streambuf if making or using a DLL :-( #if (defined(__BORLANDC__)) || defined(__MWERKS__) || \ - defined(WXUSINGDLL) || defined(WXMAKINGDLL) + (defined(__WINDOWS__) && (defined(WXUSINGDLL) || defined(WXMAKINGDLL))) #define NO_TEXT_WINDOW_STREAM #endif