]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stdstream.cpp
Created the model in wxDataViewListCtrl::Create().
[wxWidgets.git] / src / common / stdstream.cpp
index 1fa00576423bbbd3a33da5758c3ee0e099cf9ea4..54b18ad2dd1ae7b8d9853835a32269e99d2bd156 100644 (file)
@@ -20,7 +20,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_STD_IOSTREAM
+#if wxUSE_STREAMS && wxUSE_STD_IOSTREAM
 
 #ifndef WX_PRECOMP
 #endif
@@ -39,7 +39,7 @@
 namespace
 {
 
-inline bool
+bool
 IosSeekDirToWxSeekMode(std::ios_base::seekdir way,
                        wxSeekMode& seekMode)
 {
@@ -290,4 +290,4 @@ wxStdOutputStream::wxStdOutputStream(wxOutputStream& stream) :
 
 #endif // VC6/!VC6
 
-#endif // wxUSE_STD_IOSTREAM
+#endif // wxUSE_STREAMS && wxUSE_STD_IOSTREAM