projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add yet another overload of assertEquals to fix another compilation error due to...
[wxWidgets.git]
/
src
/
html
/
helpctrl.cpp
diff --git
a/src/html/helpctrl.cpp
b/src/html/helpctrl.cpp
index a0c120aa75574e7d54c71508740e274e3887515a..206e868051e9f343791ca42e4b57d08a3e0ec4db 100644
(file)
--- a/
src/html/helpctrl.cpp
+++ b/
src/html/helpctrl.cpp
@@
-87,12
+87,13
@@
void wxHtmlHelpController::OnCloseFrame(wxCloseEvent& evt)
{
if (m_Config)
WriteCustomization(m_Config, m_ConfigRoot);
-
+
evt.Skip();
OnQuit();
- m_helpWindow->SetController(NULL);
+ if ( m_helpWindow )
+ m_helpWindow->SetController(NULL);
m_helpWindow = NULL;
m_helpDialog = NULL;
m_helpFrame = NULL;