]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed wxMotif breakage, sorry!
authorJulian Smart <julian@anthemion.co.uk>
Mon, 24 Jul 2000 19:55:22 +0000 (19:55 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 24 Jul 2000 19:55:22 +0000 (19:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/valgen.cpp

index 2157d57e64888216c5cdb84f94d2e96b2985473e..2c43f606481366d2445625cfb929ea022f3b7f2b 100644 (file)
@@ -165,7 +165,7 @@ bool wxGenericValidator::TransferToWindow(void)
        }
     } else
 #endif
-#if wxUSE_SPINCTRL && !defined(__WIN16__)
+#if wxUSE_SPINCTRL && !defined(__WIN16__) && !defined(__WXMOTIF__)
     if (m_validatorWindow->IsKindOf(CLASSINFO(wxSpinCtrl)) )
     {
         wxSpinCtrl* pControl = (wxSpinCtrl*) m_validatorWindow;
@@ -384,7 +384,7 @@ bool wxGenericValidator::TransferFromWindow(void)
     }
   } else
 #endif
-#if wxUSE_SPINCTRL && !defined(__WIN16__)
+#if wxUSE_SPINCTRL && !defined(__WIN16__) && !defined(__WXMOTIF__)
     if (m_validatorWindow->IsKindOf(CLASSINFO(wxSpinCtrl)) )
     {
         wxSpinCtrl* pControl = (wxSpinCtrl*) m_validatorWindow;