Add pos, size and style parameters to the window constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -185,16 +185,24 @@ DEFINE_OLE_TABLE(FrameSite)
|
||||
END_OLE_TABLE;
|
||||
|
||||
|
||||
wxActiveX::wxActiveX(wxWindow * parent, REFCLSID clsid, wxWindowID id) :
|
||||
wxWindow(parent, id)
|
||||
wxActiveX::wxActiveX(wxWindow * parent, REFCLSID clsid, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
long style,
|
||||
const wxString& name) :
|
||||
wxWindow(parent, id, pos, size, style, name)
|
||||
{
|
||||
m_bAmbientUserMode = true;
|
||||
m_docAdviseCookie = 0;
|
||||
CreateActiveX(clsid);
|
||||
}
|
||||
|
||||
wxActiveX::wxActiveX(wxWindow * parent, wxString progId, wxWindowID id) :
|
||||
wxWindow(parent, id)
|
||||
wxActiveX::wxActiveX(wxWindow * parent, wxString progId, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
long style,
|
||||
const wxString& name) :
|
||||
wxWindow(parent, id, pos, size, style, name)
|
||||
{
|
||||
m_bAmbientUserMode = true;
|
||||
m_docAdviseCookie = 0;
|
||||
|
Reference in New Issue
Block a user