]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpctrl.cpp
Remove assert checking bitmap size in wxMenuItem drawing code in wxMSW.
[wxWidgets.git] / src / html / helpctrl.cpp
index 66c903a364520b7f73162340cbdb998d80d4eaa9..d3cd0cf50b9bc954e6b8d04b8dc05e7e84de3d29 100644 (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