From b31ce22480aa50a1f018ce62522a2faecba38ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 16 Aug 2004 12:49:48 +0000 Subject: [PATCH] Unused parameter warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/buttoncmn.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/buttoncmn.cpp b/src/common/buttoncmn.cpp index 0e767dd006..68769b2234 100644 --- a/src/common/buttoncmn.cpp +++ b/src/common/buttoncmn.cpp @@ -43,7 +43,9 @@ bool wxButtonBase::CreateStock(wxWindow *parent, const wxString& name) { wxString label; -#if defined(__WXMAC__) || defined(__WXCOCOA__) +#if !defined(__WXMAC__) && !defined(__WXCOCOA__) + wxUnusedVar(descriptiveLabel); +#else // defined(__WXMAC__) || defined(__WXCOCOA__) if (!descriptiveLabel.empty()) { label = descriptiveLabel;