Index: calbox.cpp =================================================================== RCS file: /projects/pgadmin3/src/ui/calbox.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -Lsrc/ui/calbox.cpp -Lsrc/ui/calbox.cpp -u -w -r1.13 -r1.14 --- src/ui/calbox.cpp +++ src/ui/calbox.cpp @@ -387,6 +387,10 @@ void wxCalendarBox::OnKillFocus(wxFocusEvent &ev) { +#ifdef __WXGTK__ + ev.Skip(); +#endif + wxDateTime dt; dt.ParseFormat(m_txt->GetValue(), m_format); if (!dt.IsValid()) Index: timespin.cpp =================================================================== RCS file: /projects/pgadmin3/src/ui/timespin.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -Lsrc/ui/timespin.cpp -Lsrc/ui/timespin.cpp -u -w -r1.5 -r1.6 --- src/ui/timespin.cpp +++ src/ui/timespin.cpp @@ -388,6 +388,10 @@ void wxTimeSpinCtrl::OnKillFocus(wxFocusEvent &ev) { +#ifdef __WXGTK__ + ev.Skip(); +#endif + long time=GetTextTime(); if (time < 0)