fix a fatal crash due to using wxHSCROLL presence in m_windowStyle as indicator of...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Apr 2007 23:25:36 +0000 (23:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Apr 2007 23:25:36 +0000 (23:25 +0000)
commitccc20afae9a2ed83677e6f46a8472d3b39a087c4
tree903d2cc1c5786b14f8d2542e57aabb28068f59a0
parent2e9c0c010a375156eb72eaa1e2e4efcbb7ecf06b
fix a fatal crash due to using wxHSCROLL presence in m_windowStyle as indicator of whether we wrap lines or not: this didn't work because wxHSCROLL was temporarily reset in wxWindow::Create() and so we used wxTextWrappedData when we only had created wxTextMultiLineData

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/univ/textctrl.h
src/univ/textctrl.cpp