#ifndef WX_PRECOMP
#include "wx/dynarray.h"
#include "wx/log.h"
+ #include "wx/intl.h"
#include "wx/app.h"
+ #include "wx/utils.h"
+ #include "wx/button.h"
+ #include "wx/settings.h"
+ #include "wx/arrstr.h"
+ #include "wx/toplevel.h"
#endif
-#include "wx/button.h"
-#include "wx/settings.h"
-#include "wx/toplevel.h"
-
-#include "wx/utils.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl)
BEGIN_EVENT_TABLE(wxListBox, wxControl)
#include "wx/mac/uma.h"
#include "wx/dynarray.h"
-#include "wx/arrstr.h"
// ============================================================================
// list box control implementation
OSStatus err = errDataBrowserPropertyNotSupported;
wxListBox *list = wxDynamicCast( owner->GetPeer() , wxListBox );
wxCHECK_MSG( list != NULL , errDataBrowserPropertyNotSupported , wxT("Listbox expected"));
- wxCheckListBox *checklist = wxDynamicCast( list , wxCheckListBox );
if ( !changeValue )
{
unsigned int wxMacDataBrowserListControl::MacGetCount() const
{
- return GetItemCount(wxMacDataBrowserRootContainer,false,kDataBrowserItemNoState);
+ return GetItemCount(wxMacDataBrowserRootContainer,false,kDataBrowserItemAnyState);
}
void wxMacDataBrowserListControl::MacDelete( unsigned int n )
#endif
-#endif
+#endif // wxUSE_LISTBOX