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:
Stefan Csomor
2003-02-09 09:10:02 +00:00
parent 0e878cfcc6
commit 2eefc6d59e
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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,