]> git.saurik.com Git - wxWidgets.git/commitdiff
Unused parameter warning fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 16 Aug 2004 12:49:48 +0000 (12:49 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 16 Aug 2004 12:49:48 +0000 (12:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/buttoncmn.cpp

index 0e767dd00618b52994a70934cbc2995da1809a5a..68769b2234a2c82ad0107b02de57d56c0b6106fe 100644 (file)
@@ -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;