]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/checklst.h
wxMDIChildFrame::Maximize() should have default value for its argument just as wxFram...
[wxWidgets.git] / include / wx / os2 / checklst.h
index cbecae5fedf6e8649403bb2b41c02f1cc1ba2082..d2d75ec498f412470b3d3476a4452cc8b1573710 100644 (file)
@@ -35,11 +35,18 @@ public:
                    ,int                nStrings = 0
                    ,const wxString     asChoices[] = NULL
                    ,long               lStyle = 0
                    ,int                nStrings = 0
                    ,const wxString     asChoices[] = NULL
                    ,long               lStyle = 0
-#if wxUSE_VALIDATORS
                    ,const wxValidator& rValidator = wxDefaultValidator
                    ,const wxValidator& rValidator = wxDefaultValidator
-#endif
                    ,const wxString&    rsName = wxListBoxNameStr
                   );
                    ,const wxString&    rsName = wxListBoxNameStr
                   );
+    wxCheckListBox( wxWindow*            pParent
+                   ,wxWindowID           vId
+                   ,const wxPoint&       rPos
+                   ,const wxSize&        vSize
+                   ,const wxArrayString& asChoices
+                   ,long                 lStyle = 0
+                   ,const wxValidator&   rValidator = wxDefaultValidator
+                   ,const wxString&      rsName = wxListBoxNameStr
+                  );
 
     //
     // Override base class virtuals
 
     //
     // Override base class virtuals
@@ -82,19 +89,6 @@ protected:
 private:
     size_t                          m_nItemHeight;  // height of checklistbox items (the same for all)
 
 private:
     size_t                          m_nItemHeight;  // height of checklistbox items (the same for all)
 
-    //
-    // Virtual function hiding suppression, do not use
-    //
-    virtual wxControl* CreateItem( const wxItemResource*  pChildResource
-                                  ,const wxItemResource*  pParentResource
-                                  ,const wxResourceTable* pTable = (const wxResourceTable *) NULL
-                                 )
-    {
-        return(wxWindowBase::CreateItem( pChildResource
-                                        ,pParentResource
-                                        ,pTable
-                                       ));
-    }
     DECLARE_DYNAMIC_CLASS(wxCheckListBox)
     DECLARE_EVENT_TABLE()
 }; // end of CLASS wxCheckListBoxItem
     DECLARE_DYNAMIC_CLASS(wxCheckListBox)
     DECLARE_EVENT_TABLE()
 }; // end of CLASS wxCheckListBoxItem