]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/combobox_osx.cpp
adding missing newline at end of file
[wxWidgets.git] / src / osx / combobox_osx.cpp
index 9790bb95dca74fad92b71e877a4be18f6c63b1f5..bf092f3772fdfacb043e0bbe96e6ae5fc4c3e95e 100644 (file)
@@ -21,8 +21,6 @@
 
 // work in progress
 
-IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
-
 wxComboBox::~wxComboBox()
 {
 }
@@ -122,15 +120,11 @@ int wxComboBox::DoInsertItems(const wxArrayStringsAdapter& items,
 // ----------------------------------------------------------------------------
 void wxComboBox::DoSetItemClientData(unsigned int n, void* clientData)
 {
-    wxCHECK_RET( IsValid(n), "invalid index" );
-
     m_datas[n] = (char*)clientData ;
 }
 
 void * wxComboBox::DoGetItemClientData(unsigned int n) const
 {
-    wxCHECK_MSG( IsValid(n), NULL, "invalid index" );
-
     return (void *)m_datas[n];
 }