use full 32bit range for the process ids
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Apr 2002 18:04:54 +0000 (18:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Apr 2002 18:04:54 +0000 (18:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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 )
     {