setting selection to 0,0 in create, bug 1826548

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-11-06 08:06:46 +00:00
parent 3de05b706a
commit 17532da814

View File

@@ -1359,6 +1359,7 @@ bool wxMacUnicodeTextControl::Create( wxTextCtrl *wxPeer,
{
m_font = wxPeer->GetFont() ;
m_windowStyle = style ;
m_selection.selStart = m_selection.selEnd = 0;
Rect bounds = wxMacGetBoundsForControl( wxPeer , pos , size ) ;
wxString st = str ;
wxMacConvertNewlines10To13( &st ) ;