]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/checklst.cpp
GetId was accessing the m_format var incorrectly
[wxWidgets.git] / src / os2 / checklst.cpp
index 5f6282c54eb4b6890567ebba1bfb27f793955e2f..ec5776444d2965b20cd9c670ab8a2c6cf2866492 100644 (file)
@@ -27,6 +27,7 @@
 #include "wx/ownerdrw.h"
 #include "wx/settings.h"
 #include "wx/dcmemory.h"
+#include "wx/dcscreen.h"
 #include "wx/os2/checklst.h"
 #include "wx/log.h"
 
@@ -273,9 +274,7 @@ wxCheckListBox::wxCheckListBox (
 , int                               nStrings
 , const wxString                    asChoices[]
 , long                              lStyle
-#if wxUSE_VALIDATORS
 , const wxValidator&                rVal
-#endif
 , const wxString&                   rsName
 )
               : wxListBox()
@@ -287,9 +286,7 @@ wxCheckListBox::wxCheckListBox (
            ,nStrings
            ,asChoices
            ,lStyle | wxLB_OWNERDRAW
-#if wxUSE_VALIDATORS
            ,rVal
-#endif
            ,rsName
           );
 } // end of wxCheckListBox::wxCheckListBox