X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..5955710c8bd346e8be675bd1dbbd427723a57920:/src/generic/textdlgg.cpp diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 9203e89fcc..6e0ab1e48d 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -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();