]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filepicker.cpp
make wxControlContainer accept focus depending on whether it has any focusable childr...
[wxWidgets.git] / src / gtk / filepicker.cpp
index c79eb51426266ab58c1ede414a08360d0a82e0ab..32d0c628080ac0150ec14ea747b79708ecb3507f 100644 (file)
@@ -47,7 +47,6 @@ bool wxFileButton::Create( wxWindow *parent, wxWindowID id,
         //                 if you find a problem here, fix it also in wxDirButton !
 
         m_needParent = true;
-        m_acceptsFocus = true;
 
         if (!PreCreation( parent, pos, size ) ||
             !wxControl::CreateBase(parent, id, pos, size, style & wxWINDOW_STYLE_MASK,
@@ -197,7 +196,6 @@ bool wxDirButton::Create( wxWindow *parent, wxWindowID id,
         //                 if you find a problem here, fix it also in wxFileButton !
 
         m_needParent = true;
-        m_acceptsFocus = true;
 
         if (!PreCreation( parent, pos, size ) ||
             !wxControl::CreateBase(parent, id, pos, size, style & wxWINDOW_STYLE_MASK,