14
edits
| Line 170: | Line 170: | ||
if(!newwxMozView) | if(!newwxMozView) | ||
return 0; | return 0; | ||
return &(newwxMozView-> | return &(newwxMozView->m_private->mozView); | ||
} | } | ||
void wxMozViewListener::SizeTo(PRUint32 width, PRUint32 height) | void wxMozViewListener::SizeTo(PRUint32 width, PRUint32 height) | ||
{ | { | ||
pwxMozView-> | pwxMozView->m_private->preferredSize = wxSize(width, height); | ||
pwxMozView->Update(); | pwxMozView->Update(); | ||
pwxMozView->GetParent()->Fit(); | pwxMozView->GetParent()->Fit(); | ||
edits