]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
Added some documentation :)
[wxWidgets.git] / src / generic / textdlgg.cpp
index 9203e89fcc6a15958c5a1c8f91e4ccf38d62506e..6e0ab1e48d48febdb7833076acb189d4d77ac26a 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "textdlgg.h"
 #endif
 
@@ -114,6 +114,7 @@ wxTextEntryDialog::wxTextEntryDialog(wxWindow *parent,
 
     Centre( wxBOTH );
 
+    m_textctrl->SetSelection(-1, -1);
     m_textctrl->SetFocus();
 
     wxEndBusyCursor();