]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for Motif
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Nov 1999 18:38:56 +0000 (18:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Nov 1999 18:38:56 +0000 (18:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/spinctlg.h

index 02d26def7d2e8137f2b1cd895f013f4289a64a99..f9f01943ce2df609e756b5a817710f478f9e38a2 100644 (file)
@@ -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