bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1174,7 +1174,7 @@ long wxTextCtrl::GetLastPosition() const
|
|||||||
void wxTextCtrl::Replace(long from, long to, const wxString& str)
|
void wxTextCtrl::Replace(long from, long to, const wxString& str)
|
||||||
{
|
{
|
||||||
wxString value = str ;
|
wxString value = str ;
|
||||||
wxMacConvertNewlines13To10( &st ) ;
|
wxMacConvertNewlines13To10( &value ) ;
|
||||||
if ( !m_macUsesTXN )
|
if ( !m_macUsesTXN )
|
||||||
{
|
{
|
||||||
ControlEditTextSelectionRec selection ;
|
ControlEditTextSelectionRec selection ;
|
||||||
|
@@ -1174,7 +1174,7 @@ long wxTextCtrl::GetLastPosition() const
|
|||||||
void wxTextCtrl::Replace(long from, long to, const wxString& str)
|
void wxTextCtrl::Replace(long from, long to, const wxString& str)
|
||||||
{
|
{
|
||||||
wxString value = str ;
|
wxString value = str ;
|
||||||
wxMacConvertNewlines13To10( &st ) ;
|
wxMacConvertNewlines13To10( &value ) ;
|
||||||
if ( !m_macUsesTXN )
|
if ( !m_macUsesTXN )
|
||||||
{
|
{
|
||||||
ControlEditTextSelectionRec selection ;
|
ControlEditTextSelectionRec selection ;
|
||||||
|
Reference in New Issue
Block a user