X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89c684ef8280e2d91096da2d96ba36e24a1fb917..20d10ee18bc903516d3a41264c9c7cbb7cc677c4:/src/common/valgen.cpp diff --git a/src/common/valgen.cpp b/src/common/valgen.cpp index d90f90f6f0..091c2b9db4 100644 --- a/src/common/valgen.cpp +++ b/src/common/valgen.cpp @@ -23,10 +23,14 @@ #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/intl.h" +#include "wx/wx.h" +#include "wx/dynarray.h" #endif +#ifndef __WIN16__ #include "wx/spinbutt.h" #include "wx/checklst.h" +#endif #include "wx/valgen.h" @@ -128,6 +132,7 @@ bool wxGenericValidator::TransferToWindow(void) return TRUE; } } +#ifndef __WIN16__ else if (m_validatorWindow->IsKindOf(CLASSINFO(wxSpinButton)) ) { wxSpinButton* pControl = (wxSpinButton*) m_validatorWindow; @@ -137,6 +142,7 @@ bool wxGenericValidator::TransferToWindow(void) return TRUE; } } +#endif // string controls else if (m_validatorWindow->IsKindOf(CLASSINFO(wxButton)) ) { @@ -183,6 +189,7 @@ bool wxGenericValidator::TransferToWindow(void) return TRUE; } } +#ifndef __WIN16__ // array controls // NOTE: wxCheckListBox isa wxListBox, so wxCheckListBox // MUST come first: @@ -204,6 +211,7 @@ bool wxGenericValidator::TransferToWindow(void) else return FALSE; } +#endif else if (m_validatorWindow->IsKindOf(CLASSINFO(wxListBox)) ) { wxListBox* pControl = (wxListBox*) m_validatorWindow; @@ -278,6 +286,7 @@ bool wxGenericValidator::TransferFromWindow(void) return TRUE; } } +#ifndef __WIN16__ else if (m_validatorWindow->IsKindOf(CLASSINFO(wxSpinButton)) ) { wxSpinButton* pControl = (wxSpinButton*) m_validatorWindow; @@ -287,6 +296,7 @@ bool wxGenericValidator::TransferFromWindow(void) return TRUE; } } +#endif // string controls else if (m_validatorWindow->IsKindOf(CLASSINFO(wxButton)) ) { @@ -333,6 +343,7 @@ bool wxGenericValidator::TransferFromWindow(void) return TRUE; } } +#ifndef __WIN16__ // array controls // NOTE: wxCheckListBox isa wxListBox, so wxCheckListBox // MUST come first: @@ -353,6 +364,7 @@ bool wxGenericValidator::TransferFromWindow(void) else return FALSE; } +#endif else if (m_validatorWindow->IsKindOf(CLASSINFO(wxListBox)) ) { wxListBox* pControl = (wxListBox*) m_validatorWindow;