Pass the config object into the wxHtmlHelpFrame so it has the config

info in time to set the position and size of the frame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-24 01:16:18 +00:00
parent 7f44209657
commit 18fc605924
4 changed files with 19 additions and 9 deletions

View File

@@ -1594,7 +1594,9 @@ public:
wxHtmlHelpFrame(wxWindow* parent, int wxWindowID,
const wxString& title = wxPyEmptyString,
int style = wxHF_DEFAULTSTYLE, wxHtmlHelpData* data = NULL);
int style = wxHF_DEFAULTSTYLE, wxHtmlHelpData* data = NULL,
wxConfigBase *config=NULL,
const wxString& rootpath = wxPyEmptyString);
%RenameCtor(PreHtmlHelpFrame, wxHtmlHelpFrame(wxHtmlHelpData* data = NULL));
// Turn it back on again
@@ -1602,7 +1604,9 @@ public:
bool Create(wxWindow* parent, wxWindowID id,
const wxString& title = wxPyEmptyString,
int style = wxHF_DEFAULT_STYLE);
int style = wxHF_DEFAULT_STYLE,
wxConfigBase *config=NULL,
const wxString& rootpath = wxPyEmptyString);
wxHtmlHelpData* GetData();
void SetTitleFormat(const wxString& format);