mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-19 00:21:36 +00:00
Add wxWidgets 3.0.2 (possibly earlier) patch to fix wxDataViewCtrl crash bug on OSX.
This commit is contained in:
parent
28004abe58
commit
daa29d95df
12
patches/wxwidgets-3.0.2_macosx_data_view_ctrl.patch
Normal file
12
patches/wxwidgets-3.0.2_macosx_data_view_ctrl.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/src/osx/dataview_osx.cpp b/src/osx/dataview_osx.cpp
|
||||
index 332d375..492b237 100644
|
||||
--- a/src/osx/dataview_osx.cpp
|
||||
+++ b/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()));
|
Loading…
Reference in New Issue
Block a user