Kirix Support Forums

wxWebControl fails in constructor

Please post all general questions, comments, bug reports, and any other wxWebConnect feedback here.

wxWebControl fails in constructor

Postby whatisron on Tue Feb 16, 2010 2:29 pm

So, my application now builds in Linux (it already builds & works in Windows).

I successfully call InitEngine to start xulrunner.

Then I attempt to construct wxWebControl.

In the constructor, it gets pretty far, but on the line:
Code: Select all
    res = m_ptrs->m_base_window->Create();


The call to Create() returns NS_ERROR_FAILURE.

Any advice?

Thanks!
whatisron
Registered User
 
Posts: 3
Joined: Fri Feb 12, 2010 11:46 pm

Re: wxWebControl fails in constructor

Postby whatisron on Tue Feb 16, 2010 3:19 pm

I should mention, here's the call to the constructor:

Code: Select all
void HtmlDlg::CreateControls()
{   
    cWindow = new wxWebControl(this, ID_HTMLWND, wxPoint(0,0), wxSize(800,600));
}
whatisron
Registered User
 
Posts: 3
Joined: Fri Feb 12, 2010 11:46 pm

Re: wxWebControl fails in constructor

Postby garrizano on Mon Oct 11, 2010 6:50 pm

Hello.
In Windows did you compile it with Visual Studio?
I need to compile it with ming. Do you know how to do that.
garrizano
Registered User
 
Posts: 4
Joined: Mon Oct 11, 2010 6:36 pm

Return to wxWebConnect Questions, Thoughts & Feedback