Show corrected

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-01-31 16:48:42 +00:00
parent ae156f4e78
commit 2dc4e0b986
2 changed files with 2 additions and 2 deletions

View File

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

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