Fix crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -469,7 +469,8 @@ void wxPGTextCtrlEditor::DrawValue( wxDC& dc, wxPGProperty* property, const wxRe
|
||||
|
||||
void wxPGTextCtrlEditor::UpdateControl( wxPGProperty* property, wxWindow* ctrl ) const
|
||||
{
|
||||
wxTextCtrl* tc = wxStaticCast(ctrl, wxTextCtrl);
|
||||
wxTextCtrl* tc = wxDynamicCast(ctrl, wxTextCtrl);
|
||||
if (!tc) return;
|
||||
|
||||
wxString s;
|
||||
|
||||
|
Reference in New Issue
Block a user