projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644241e
)
ensure m_table is not NULL before trying to access the view
author
Robin Dunn
<robin@alldunn.com>
Wed, 8 Nov 2006 04:54:47 +0000
(
04:54
+0000)
committer
Robin Dunn
<robin@alldunn.com>
Wed, 8 Nov 2006 04:54:47 +0000
(
04:54
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43181
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/generic/grid.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/generic/grid.cpp
b/src/generic/grid.cpp
index 0b9df4311277cc829694bfa421d8e860da41760e..f89d8470a6bc8cee1723bbbaec7a5550cb6f4c03 100644
(file)
--- a/
src/generic/grid.cpp
+++ b/
src/generic/grid.cpp
@@
-4202,7
+4202,7
@@
wxGrid::~wxGrid()
// with dangling view pointer
if ( m_ownTable )
delete m_table;
- else if ( m_table->GetView() == this )
+ else if ( m_table
&& m_table
->GetView() == this )
m_table->SetView(NULL);
delete m_typeRegistry;