Add a ctor that is compatible with the documented wxHelpController API

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-04-07 04:18:11 +00:00
parent e5f9b4ae2d
commit 895c1bc001
3 changed files with 18 additions and 0 deletions

View File

@@ -42,6 +42,17 @@ IMPLEMENT_DYNAMIC_CLASS(wxHtmlHelpController, wxHelpControllerBase)
wxHtmlHelpController::wxHtmlHelpController(int style, wxWindow* parentWindow):
wxHelpControllerBase(parentWindow)
{
Init(style);
}
wxHtmlHelpController::wxHtmlHelpController(wxWindow* parentWindow, int style):
wxHelpControllerBase(parentWindow)
{
Init(style);
}
void wxHtmlHelpController::Init(int style)
{
m_helpWindow = NULL;
m_helpFrame = NULL;
@@ -55,6 +66,7 @@ wxHtmlHelpController::wxHtmlHelpController(int style, wxWindow* parentWindow):
m_shouldPreventAppExit = false;
}
wxHtmlHelpController::~wxHtmlHelpController()
{
#if wxUSE_CONFIG