#if wxUSE_RICHTEXT
+#include "wx/window.h"
+
/**
@class wxRichTextUICustomization
The base class for functionality to plug in to various rich text control dialogs,
virtual bool ShowHelp(wxWindow* win)
{
- if (m_uiCustomization && m_helpTopic != -1)
- return m_uiCustomization->ShowHelp(win, m_helpTopic);
- else
+ if ( !m_uiCustomization || m_helpTopic == -1 )
return false;
+
+ return m_uiCustomization->ShowHelp(win, m_helpTopic);
}
/// Get the help topic identifier.