fix a few hundreds of harmless unused parameters warnings and a couple of real bugs discovered thanks to them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-11-05 22:29:16 +00:00
parent 3eeefdf9bd
commit 899544330f
67 changed files with 344 additions and 514 deletions

View File

@@ -370,7 +370,7 @@ protected :
template <typename procType, typename uppType , uppType (*newUPP)(procType) , void (*disposeUPP)(uppType) > class wxMacUPP
{
public :
wxMacUPP( procType proc )
wxMacUPP( procType WXUNUSED(proc) )
{
m_upp = NULL;
m_upp = (*newUPP)( NULL );

View File

@@ -39,10 +39,10 @@ public :
virtual bool HasOwnContextMenu() const
{ return false ; }
{ return false ; }
virtual bool SetupCursor( const wxPoint& pt )
{ return false ; }
virtual bool SetupCursor( const wxPoint& WXUNUSED(pt) )
{ return false ; }
virtual void Clear() ;
virtual bool CanUndo() const;
@@ -55,7 +55,7 @@ public :
virtual void ShowPosition(long WXUNUSED(pos)) ;
virtual int GetLineLength(long lineNo) const ;
virtual wxString GetLineText(long lineNo) const ;
virtual void CheckSpelling(bool check) { }
virtual void CheckSpelling(bool WXUNUSED(check)) { }
#ifndef __WXMAC_OSX__
virtual void MacControlUserPaneDrawProc(wxInt16 part) = 0 ;
@@ -112,4 +112,4 @@ public :
#endif // TARGET_API_MAC_OSX
#endif // _WX_MAC_PRIVATE_MACTEXT_H_
#endif // _WX_MAC_PRIVATE_MACTEXT_H_