Don't assert when creating wxComboBox with wxCB_SORT in wxOSX

Partially undo the changes of 8e7262fca7: using
wxLogWarning() was wrong, but using asserts is not really great neither as it
results in crashes, and prevents from using, some samples.

Also at least document that this style is not supported.

See #12419.
This commit is contained in:
Vadim Zeitlin
2016-02-23 01:25:54 +01:00
parent 505f1fb3a8
commit fea37f4984
2 changed files with 2 additions and 4 deletions

View File

@@ -38,7 +38,8 @@
allows the user to choose from the list of options but doesn't allow
to enter a value not present in the list.
@style{wxCB_SORT}
Sorts the entries in the list alphabetically.
Sorts the entries in the list alphabetically. Notice that this style
is not currently implemented in wxOSX.
@style{wxTE_PROCESS_ENTER}
The control will generate the event @c wxEVT_TEXT_ENTER
(otherwise pressing Enter key is either processed internally by the