Add wxWidgets 3.0.2 (possibly earlier) patch to fix wxDataViewCtrl crash bug on OSX.

This commit is contained in:
Bernhard Stegmaier 2015-06-15 16:15:34 -04:00 committed by Wayne Stambaugh
parent 28004abe58
commit daa29d95df
1 changed files with 12 additions and 0 deletions

View 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()));