]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/combocmn.cpp
Update header control when wxPropertyGridManager is resized.
[wxWidgets.git] / src / common / combocmn.cpp
index 8bd7e4cd71aa23572789db5e41805bddbb189f1e..438a3e27908f7731749cf243e8bea4669f7e8dd1 100644 (file)
@@ -765,7 +765,7 @@ void wxComboBoxExtraInputHandler::OnFocus(wxFocusEvent& event)
         if ( m_combo->GetTextCtrl() )
             m_combo->GetTextCtrl()->SelectAll();
         else
-            m_combo->SetSelection(-1,-1);
+            m_combo->SelectAll();
     }
 
     // Send focus indication to parent.