]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/exec/exec.cpp
always let the multiline text control process the Enter key presses
[wxWidgets.git] / samples / exec / exec.cpp
index 14a5ab2d2cffe6d6329ed69893fca454db1cacec..d11a4ac917d7ede89eee9dda98262c092ec17f2b 100644 (file)
@@ -376,7 +376,8 @@ void MyFrame::OnKill(wxCommandEvent& WXUNUSED(event))
                                    _T("Enter PID:"),
                                    _T("Exec question"),
                                    m_pidLast,
-                                   1, INT_MAX,
+                                   // we need the full unsigned int range
+                                   -INT_MAX, INT_MAX,
                                    this);
     if ( pid == -1 )
     {