Unused parameter warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
794f464d1d
commit
b31ce22480
@ -43,7 +43,9 @@ bool wxButtonBase::CreateStock(wxWindow *parent,
|
|||||||
const wxString& name)
|
const wxString& name)
|
||||||
{
|
{
|
||||||
wxString label;
|
wxString label;
|
||||||
#if defined(__WXMAC__) || defined(__WXCOCOA__)
|
#if !defined(__WXMAC__) && !defined(__WXCOCOA__)
|
||||||
|
wxUnusedVar(descriptiveLabel);
|
||||||
|
#else // defined(__WXMAC__) || defined(__WXCOCOA__)
|
||||||
if (!descriptiveLabel.empty())
|
if (!descriptiveLabel.empty())
|
||||||
{
|
{
|
||||||
label = descriptiveLabel;
|
label = descriptiveLabel;
|
||||||
|
Loading…
Reference in New Issue
Block a user