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:
@@ -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
|
||||
|
Reference in New Issue
Block a user