crash upon hide fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1579,7 +1579,7 @@ bool wxTextCtrl::Show(bool show)
|
||||
|
||||
bool retval = wxControl::Show( show ) ;
|
||||
|
||||
if ( former != m_macControlIsShown && show )
|
||||
if ( former != m_macControlIsShown && m_macUsesTXN )
|
||||
{
|
||||
if ( m_macControlIsShown )
|
||||
TXNSetFrameBounds( (TXNObject) m_macTXN, (**(STPTextPaneVars **)m_macTXNvars).fRTextArea.top, (**(STPTextPaneVars **)m_macTXNvars).fRTextArea.left,
|
||||
|
@@ -1579,7 +1579,7 @@ bool wxTextCtrl::Show(bool show)
|
||||
|
||||
bool retval = wxControl::Show( show ) ;
|
||||
|
||||
if ( former != m_macControlIsShown && show )
|
||||
if ( former != m_macControlIsShown && m_macUsesTXN )
|
||||
{
|
||||
if ( m_macControlIsShown )
|
||||
TXNSetFrameBounds( (TXNObject) m_macTXN, (**(STPTextPaneVars **)m_macTXNvars).fRTextArea.top, (**(STPTextPaneVars **)m_macTXNvars).fRTextArea.left,
|
||||
|
Reference in New Issue
Block a user