]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/listbox.cpp
implemented wxGetSingleChoiceIndex version that takes wxArrayString
[wxWidgets.git] / src / os2 / listbox.cpp
index 5408910fb3864c529f9ae32f9a58b75e425190e8..ec9bfbda113852ee7cd39d17e501db8c3e9396d1 100644 (file)
 #include "wx/dynarray.h"
 #include "wx/log.h"
 
+#if wxUSE_LISTBOX
+
 #if wxUSE_OWNER_DRAWN
     #include  "wx/ownerdrw.h"
 #endif
 
-#if !USE_SHARED_LIBRARY
   IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
-#endif
 
 // ============================================================================
 // list box item declaration and implementation
@@ -776,3 +776,5 @@ bool wxListBox::OS2OnDraw(WXDRAWITEMSTRUCT *item)
 }
 #endif
     // wxUSE_OWNER_DRAWN
+
+#endif //wxUSE_LISTBOX