Helpers in disabling warnings for unused params.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-07-01 13:39:03 +00:00
parent 2e29e19e7e
commit 0c0d1521c0
9 changed files with 92 additions and 109 deletions

View File

@@ -278,10 +278,9 @@ bool wxIsDriveAvailable(const wxString& dirName)
#elif defined(__WINDOWS__) || defined(__OS2__)
int setdrive(int drive)
int setdrive(int WXUNUSED_IN_WINCE(drive))
{
#ifdef __WXWINCE__
wxUnusedVar(drive);
return 0;
#elif defined(__GNUWIN32__) && \
(defined(__MINGW32_MAJOR_VERSION) && __MINGW32_MAJOR_VERSION >= 1)
@@ -311,10 +310,9 @@ int setdrive(int drive)
#endif // !GNUWIN32
}
bool wxIsDriveAvailable(const wxString& dirName)
bool wxIsDriveAvailable(const wxString& WXUNUSED_IN_WINCE(dirName))
{
#ifdef __WXWINCE__
wxUnusedVar(dirName);
return false;
#else
#ifdef __WIN32__