fix for VC (also ok with Borland and DMC)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott 2005-07-29 11:32:27 +00:00
parent 0645e2b90a
commit c9e4ece63a

View File

@ -1422,7 +1422,7 @@ public:
HRESULT STDMETHODCALLTYPE ShowPropertyFrame(){return E_NOTIMPL;} HRESULT STDMETHODCALLTYPE ShowPropertyFrame(){return E_NOTIMPL;}
//**************************IOleCommandTarget*********************** //**************************IOleCommandTarget***********************
HRESULT STDMETHODCALLTYPE QueryStatus(const GUID *, ULONG cCmds, HRESULT STDMETHODCALLTYPE QueryStatus(const GUID *, ULONG cCmds,
OLECMD * prgCmds, OLECMDTEXT *) OLECMD prgCmds[], OLECMDTEXT *)
{ {
if (prgCmds == NULL) return E_INVALIDARG; if (prgCmds == NULL) return E_INVALIDARG;
for (ULONG nCmd = 0; nCmd < cCmds; nCmd++) for (ULONG nCmd = 0; nCmd < cCmds; nCmd++)