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:
parent
3d3e7dcbd8
commit
9c97d337bf
@ -255,7 +255,6 @@ wxWindow(parent, id, pos, size, style, name)
|
||||
m_bAmbientUserMode = true;
|
||||
m_docAdviseCookie = 0;
|
||||
CreateActiveX(clsid);
|
||||
m_bestSize = GetSize();
|
||||
}
|
||||
|
||||
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_docAdviseCookie = 0;
|
||||
CreateActiveX((LPOLESTR) (const wchar_t *) progId.wc_str(wxConvUTF8));
|
||||
m_bestSize = GetSize();
|
||||
}
|
||||
|
||||
wxActiveX::~wxActiveX()
|
||||
|
Loading…
Reference in New Issue
Block a user