]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textcmn.cpp
Compile fixes,
[wxWidgets.git] / src / common / textcmn.cpp
index 33796a5371efc7ea745a8113f01e5f13021a99bc..ccaa6e3bfa3b41a1d608b40dfd7c4f05acb27cfc 100644 (file)
@@ -21,6 +21,8 @@
 #endif
 
 #ifndef WX_PRECOMP
+    #include "wx/intl.h"
+    #include "wx/log.h"
     #include "wx/textctrl.h"
 #endif // WX_PRECOMP
 
 
 wxTextCtrlBase::wxTextCtrlBase()
 {
+#ifndef NO_TEXT_WINDOW_STREAM
+    if (allocate())
+        setp(base(),ebuf());
+#endif // NO_TEXT_WINDOW_STREAM
 }
 
 // ----------------------------------------------------------------------------