I have been using it successfully for a couple of years now.
First time using wxWebView control though.
I am getting seg faults and this assert error with wxWebView::LoadURL()
Is this the correct way of doing it (procedural style)? - seems simple enough.
Code: Select all
<?php
$html_box = new wxWebView($frame, wxID_ANY, wxDefaultPosition, new wxSize(1024, 600));
print "entering LoadURL()\n";
$html_box->LoadURL($url_box->GetValue());
print "leaving LoadURL()\n";
while($html_box->IsBusy() === true)
{ usleep(100000); // wait for LoadURL() to finish
print "Waiting\n";
}
$frame->SetTitle($html_box->GetCurrentTitle());
?>
Produces this Terminal output:
Code: Select all
entering LoadURL()
../include/wx/event.h(1132): assert "m_event.m_propagationLevel > 0" failed in wxPropagateOnce(): shouldn't be used unless ShouldPropagate()!
wxPHP is badly in need of some support as JG is too busy these days and PHP 5 has gone end-of-life.