X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a75e76f399bc91b3f841e7f77140e83f9bd5958..6f7c5199ed9bc29507d426b13db9346bf1860005:/src/os2/checklst.cpp?ds=inline

diff --git a/src/os2/checklst.cpp b/src/os2/checklst.cpp
index 0a5befdb84..ec5776444d 100644
--- a/src/os2/checklst.cpp
+++ b/src/os2/checklst.cpp
@@ -274,9 +274,7 @@ wxCheckListBox::wxCheckListBox (
 , int                               nStrings
 , const wxString                    asChoices[]
 , long                              lStyle
-#if wxUSE_VALIDATORS
 , const wxValidator&                rVal
-#endif
 , const wxString&                   rsName
 )
               : wxListBox()
@@ -288,9 +286,7 @@ wxCheckListBox::wxCheckListBox (
            ,nStrings
            ,asChoices
            ,lStyle | wxLB_OWNERDRAW
-#if wxUSE_VALIDATORS
            ,rVal
-#endif
            ,rsName
           );
 } // end of wxCheckListBox::wxCheckListBox