]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
GTK_TOOLBAR_BOTH_HORIZ is GTK 2 only (it would have been nice if the patch mentioned...
[wxWidgets.git] / src / generic / textdlgg.cpp
index 9203e89fcc6a15958c5a1c8f91e4ccf38d62506e..55772c3c0e6dc4026d2db553994173ba8c7e270b 100644 (file)
@@ -114,6 +114,7 @@ wxTextEntryDialog::wxTextEntryDialog(wxWindow *parent,
 
     Centre( wxBOTH );
 
+    m_textctrl->SetSelection(-1, -1);
     m_textctrl->SetFocus();
 
     wxEndBusyCursor();