Remove use of m_bestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -255,7 +255,6 @@ wxWindow(parent, id, pos, size, style, name)
|
|||||||
m_bAmbientUserMode = true;
|
m_bAmbientUserMode = true;
|
||||||
m_docAdviseCookie = 0;
|
m_docAdviseCookie = 0;
|
||||||
CreateActiveX(clsid);
|
CreateActiveX(clsid);
|
||||||
m_bestSize = GetSize();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxActiveX::wxActiveX(wxWindow * parent, const wxString& progId, wxWindowID id,
|
wxActiveX::wxActiveX(wxWindow * parent, const wxString& progId, wxWindowID id,
|
||||||
@@ -268,7 +267,6 @@ wxActiveX::wxActiveX(wxWindow * parent, const wxString& progId, wxWindowID id,
|
|||||||
m_bAmbientUserMode = true;
|
m_bAmbientUserMode = true;
|
||||||
m_docAdviseCookie = 0;
|
m_docAdviseCookie = 0;
|
||||||
CreateActiveX((LPOLESTR) (const wchar_t *) progId.wc_str(wxConvUTF8));
|
CreateActiveX((LPOLESTR) (const wchar_t *) progId.wc_str(wxConvUTF8));
|
||||||
m_bestSize = GetSize();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxActiveX::~wxActiveX()
|
wxActiveX::~wxActiveX()
|
||||||
|
Reference in New Issue
Block a user