]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxTE_RICH for the log window now that it should scroll correctly
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Jan 2002 01:34:11 +0000 (01:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Jan 2002 01:34:11 +0000 (01:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/logg.cpp

index 8551727656de2c1f432a5f537ca0d762fc5f8dbc..b4f092a4c88c9a622af44fbafc7b86f608c44075 100644 (file)
@@ -459,6 +459,11 @@ wxLogFrame::wxLogFrame(wxFrame *pParent, wxLogWindow *log, const wxChar *szTitle
             wxDefaultSize,
             wxTE_MULTILINE  |
             wxHSCROLL       |
+            // needed for Win32 to avoid 65Kb limit but it doesn't work well
+            // when using RichEdit 2.0 which we always do in the Unicode build
+#if !wxUSE_UNICODE
+            wxTE_RICH       |
+#endif // !wxUSE_UNICODE
             wxTE_READONLY);
 
 #if wxUSE_MENUS