]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/slider.cpp
don't dereferencep ossibly NULL pointers in DoScreenToClient/ClientToScreen()
[wxWidgets.git] / src / gtk / slider.cpp
index 269d2c4921f752aed034ed88eda44c512528598f..a8c1451100a38e918228cb3af04de60ec7d1c199 100644 (file)
@@ -288,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 ) ||