]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valgen.cpp
1. added wxGetNumberFromUser (to textdlgg.cpp and dialogs sample)
[wxWidgets.git] / src / common / valgen.cpp
index 41c659fe64a758f7625392f6b1b5965966c35314..8e94d26dccd183fcb86f4c51e140c23b6ea03f54 100644 (file)
@@ -203,9 +203,9 @@ bool wxGenericValidator::TransferToWindow(void)
       pControl->SetSelection(*m_pInt) ;
       return TRUE;
     }
-  }
+  } else
 #endif
-  else if (m_validatorWindow->IsKindOf(CLASSINFO(wxStaticText)) )
+  if (m_validatorWindow->IsKindOf(CLASSINFO(wxStaticText)) )
   {
     wxStaticText* pControl = (wxStaticText*) m_validatorWindow;
        if (m_pString)
@@ -459,4 +459,4 @@ void wxGenericValidator::Initialize()
 
 #endif
   // wxUSE_VALIDATORS
-  
\ No newline at end of file
+