kicad/patches/wxwidgets-3.0.2_macosx_data...

12 lines
469 B
Diff

=== modified file 'src/osx/dataview_osx.cpp'
--- src/osx/dataview_osx.cpp
+++ src/osx/dataview_osx.cpp
@@ -378,7 +378,6 @@ bool wxDataViewCtrl::Create(wxWindow *parent,
const wxValidator& validator,
const wxString& name)
{
- DontCreatePeer();
if (!(wxControl::Create(parent,id,pos,size,style,validator,name)))
return false;
SetPeer(::CreateDataView(this,parent,id,pos,size,style,GetExtraStyle()));