From: Vadim Zeitlin Date: Mon, 8 Nov 1999 18:38:56 +0000 (+0000) Subject: compilation fix for Motif X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2f5292c3df689f4695012630439a648aee2956ee?ds=sidebyside compilation fix for Motif git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/spinctlg.h b/include/wx/generic/spinctlg.h index 02d26def7d..f9f01943ce 100644 --- a/include/wx/generic/spinctlg.h +++ b/include/wx/generic/spinctlg.h @@ -46,10 +46,11 @@ public: { SetRange(min, max); - bool val = wxTextCtrl::Create(parent, id, value, pos, size, style, - wxDefaultValidator, name); + bool ok = wxTextCtrl::Create(parent, id, value, pos, size, style, + wxDefaultValidator, name); SetValue(initial); - return value; + + return ok; } // accessors