]> git.saurik.com Git - wxWidgets.git/commitdiff
Forward ported r58463. (Check for null text control in wxPickerBase fixing a focus...
authorBryan Petty <bryan@ibaku.net>
Tue, 27 Jan 2009 17:42:42 +0000 (17:42 +0000)
committerBryan Petty <bryan@ibaku.net>
Tue, 27 Jan 2009 17:42:42 +0000 (17:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/pickerbase.cpp

index 0176c2a2a829e4727980c3e5fc2a54e0708f152b..cccaabc42e7da2b35c265a58f52e321288e9e0c8 100644 (file)
@@ -149,7 +149,7 @@ void wxPickerBase::OnTextCtrlKillFocus(wxFocusEvent& event)
     event.Skip();
 
     // don't leave the textctrl empty
-    if (m_text->GetValue().empty())
+    if (m_text && m_text->GetValue().empty())
         UpdateTextCtrlFromPicker();
 }