From 57f406df1580d5fb6bcce7158090410246a877e5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 4 Oct 2003 06:35:58 +0000 Subject: [PATCH] Remove unused functions causing annoying OLEAUT32.dll warning. --- stepmania/src/BaseClasses/winctrl.cpp | 4 ++-- stepmania/src/BaseClasses/wxutil.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/BaseClasses/winctrl.cpp b/stepmania/src/BaseClasses/winctrl.cpp index 4771db98fd..6040fd20b3 100644 --- a/stepmania/src/BaseClasses/winctrl.cpp +++ b/stepmania/src/BaseClasses/winctrl.cpp @@ -126,7 +126,7 @@ STDMETHODIMP CBaseControlWindow::put_Caption(BSTR strCaption) { // which ensures the interface doesn't fiddle around with getting memory. A // BSTR is a normal C string with the length at position (-1), we use the // WriteBSTR helper function to create the caption to try and avoid OLE32 - +/* STDMETHODIMP CBaseControlWindow::get_Caption(BSTR *pstrCaption) { CheckPointer(pstrCaption,E_POINTER); CheckConnected(m_pPin,VFW_E_NOT_CONNECTED); @@ -143,7 +143,7 @@ STDMETHODIMP CBaseControlWindow::get_Caption(BSTR *pstrCaption) { #endif return WriteBSTR(pstrCaption,WideCaption); } - +*/ // Set the window style using GWL_EXSTYLE diff --git a/stepmania/src/BaseClasses/wxutil.cpp b/stepmania/src/BaseClasses/wxutil.cpp index e1d440a222..4fd6e2626e 100644 --- a/stepmania/src/BaseClasses/wxutil.cpp +++ b/stepmania/src/BaseClasses/wxutil.cpp @@ -989,7 +989,7 @@ BOOL WINAPI CritCheckOut(const CCritSec * pcCrit) { } #endif - +/* STDAPI WriteBSTR(BSTR *pstrDest, LPCWSTR szSrc) { *pstrDest = SysAllocString(szSrc); if(!(*pstrDest)) return E_OUTOFMEMORY; @@ -1002,7 +1002,7 @@ STDAPI FreeBSTR(BSTR* pstr) { SysFreeString(*pstr); return NOERROR; } - +*/ // Return a wide string - allocating memory for it // Returns: