]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textcmn.cpp
added and documented wxDC::DrawCheckMark()
[wxWidgets.git] / src / common / textcmn.cpp
index 5ccdea78f39a0dbdf5922d14fa324220231e166b..d1c0434cc2295d67ad7f222d2de2ca19ae259af7 100644 (file)
 // ----------------------------------------------------------------------------
 
 wxTextCtrlBase::wxTextCtrlBase()
+#if !wxUSE_IOSTREAMH
+    #ifndef NO_TEXT_WINDOW_STREAM
+        :streambuf()
+    #endif //NO_TEXT_WINDOW_STREAM
+#endif //!wxUSE_IOSTREAMH
 {
-#ifndef NO_TEXT_WINDOW_STREAM
-    if (allocate())
-        setp(base(),ebuf());
-#endif // NO_TEXT_WINDOW_STREAM
+#if wxUSE_IOSTREAMH
+    #ifndef NO_TEXT_WINDOW_STREAM
+        if (allocate())
+            setp(base(),ebuf());
+    #endif // NO_TEXT_WINDOW_STREAM
+#endif //wxUSE_IOSTREAMH
 }
 
 // ----------------------------------------------------------------------------