]> git.saurik.com Git - wxWidgets.git/commitdiff
WXUSINGDLL is defined when building samples on non-MSW platforms for simplicity,...
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 18 Mar 2004 23:12:58 +0000 (23:12 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 18 Mar 2004 23:12:58 +0000 (23:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/textctrl.h

index 33bb8b47d0a514ca6584af61fd5ab31742f84960..340e4bf278526951c69ab81709aced3e9960e76c 100644 (file)
@@ -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