14
edits
| Line 35: | Line 35: | ||
#include "embed.h" | #include "embed.h" | ||
#include <wx/ | #include <wx/control.h> | ||
#include <wx/string.h> | #include <wx/string.h> | ||
| Line 44: | Line 44: | ||
///////////////////////////////////////////////////// | ///////////////////////////////////////////////////// | ||
class wxMozView : | class wxMozView : | ||
public | public wxControl | ||
{ | { | ||
public: | public: | ||
| Line 51: | Line 51: | ||
const wxPoint& pos = wxDefaultPosition, | const wxPoint& pos = wxDefaultPosition, | ||
const wxSize& size = wxDefaultSize, | const wxSize& size = wxDefaultSize, | ||
long style = 0 | long style = 0); | ||
virtual ~wxMozView(); | virtual ~wxMozView(); | ||
| Line 157: | Line 156: | ||
const wxPoint& pos, | const wxPoint& pos, | ||
const wxSize& size, | const wxSize& size, | ||
long style | long style) : | ||
wxControl(parent, id, pos, size, style), | |||
m_private(new Private(this)) | m_private(new Private(this)) | ||
{ | { | ||
wxControl::wxWindow::Show(false); | |||
m_private->mozView.CreateBrowser( | m_private->mozView.CreateBrowser( | ||
(void*)parent->GetHandle(), | (void*)parent->GetHandle(), | ||
edits