]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove use of m_bestSize
authorRobin Dunn <robin@alldunn.com>
Thu, 15 Apr 2004 19:56:20 +0000 (19:56 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 15 Apr 2004 19:56:20 +0000 (19:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/contrib/activex/wxie/wxactivex.cpp

index 46f372c9ee4f8738e1ea644bf4866eb1cf954038..5e122af8b5c8db9c337f5c88205b24b4cb48ef85 100644 (file)
@@ -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()