X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/559f60efa8e7c0735b2dca83bd80b56cd96cec3b..c5c01214025f3682c2eaf79d5476c8c82f9c920b:/src/gtk/slider.cpp diff --git a/src/gtk/slider.cpp b/src/gtk/slider.cpp index dc964e0153..a8c1451100 100644 --- a/src/gtk/slider.cpp +++ b/src/gtk/slider.cpp @@ -182,7 +182,6 @@ gtk_value_changed(GtkRange* range, wxSlider* win) // If integral position has changed if (wxRound(oldPos) != pos) { - wxCHECK_RET(eventType != wxEVT_NULL, _T("Unknown slider scroll event type")); ProcessScrollEvent(win, eventType); win->m_needThumbRelease = eventType == wxEVT_SCROLL_THUMBTRACK; } @@ -289,7 +288,6 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxValidator& validator, const wxString& name ) { - m_acceptsFocus = true; m_needParent = true; if (!PreCreation( parent, pos, size ) ||