X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc0d5b6bd2f479983377bbc0068cb061c6ccce98..b1f50e652c0e105c0ed8ab627be837c45f7a1a00:/src/generic/textdlgg.cpp?ds=sidebyside diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 4397306f2e..6e0ab1e48d 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -5,8 +5,8 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -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();