X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce4169a4d129fc6cd165b2e9ccc5cf5d48356020..9b61f868b597a84fd3c589b2e8539624c491f86b:/src/common/valgen.cpp?ds=sidebyside diff --git a/src/common/valgen.cpp b/src/common/valgen.cpp index 41c659fe64..8e94d26dcc 100644 --- a/src/common/valgen.cpp +++ b/src/common/valgen.cpp @@ -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 +