//
// Impl notes:
-// There is no custom data source because doing so unneccesaraly sacrifices
+// There is no custom data source because doing so unnecessarily sacrifices
// some native autocompletion behavior (we would have to make our own -
// the SimpleComboBox sample does so in the developer folder that
// comes with OSX). One reason you might want this would be to have
-// only one array or be able to display numbers by returned an NSNumber
+// only one array or be able to display numbers returned by an NSNumber
// from the methods.
//
// One problem though is that wxCB_SORT isn't implemented...
return (candidate ? candidate : inputString);
}
*/
-#if wxUSE_COMBOBOX
/////////////////////////////////////////////////////////////////////////////
// Name: cocoa/NSComboBox.mm
// ----------------------------------------------------------------------------
#include "wx/wxprec.h"
+#if wxUSE_COMBOBOX
+
#ifndef WX_PRECOMP
#include "wx/window.h"
#endif // WX_PRECOMP