wxIEHtmlwin inside a noteBook

I'm having trouble displaying the IEHTmlwin inside a notebooks page
here is the code pasted from my app

···

*
        self.ie = wxIEHtmlWin(self, -1) self.projectnb = ProjectsNotebook(splitter2,-1)
        self.nb = wxNotebook(self.projectnb,-1,style=wxNB_BOTTOM)
        self.projectnb.AddPage(self.ie,"View")
        self.projectnb.AddPage(self.nb,"code")
        self.t1 = wxTextCtrl(self.nb, -1, "Test it out and see",style=wxTE_MULTILINE)
        self.nb.AddPage(self.t1,"test")

*it runs but it doesn't show anything just the window
it works fine when I change self.ie into wxWindow(... on line 4 of this code
so the probleme must be with the wxIEHtmlWin

Jonas Geiregat wrote:

I'm having trouble displaying the IEHTmlwin inside a notebooks page
here is the code pasted from my app
*
       self.ie = wxIEHtmlWin(self, -1) self.projectnb = ProjectsNotebook(splitter2,-1)
       self.nb = wxNotebook(self.projectnb,-1,style=wxNB_BOTTOM)
       self.projectnb.AddPage(self.ie,"View")
       self.projectnb.AddPage(self.nb,"code")
       self.t1 = wxTextCtrl(self.nb, -1, "Test it out and see",style=wxTE_MULTILINE)
       self.nb.AddPage(self.t1,"test")

*it runs but it doesn't show anything just the window
it works fine when I change self.ie into wxWindow(... on line 4 of this code
so the probleme must be with the wxIEHtmlWin

It works fine in the demo. If you compare your code with it you'll see that the ie window should be a child of the notebook.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!