Opened 10 years ago

Closed 10 years ago

#9578 closed Patch (fixed)

wxCB_SORT not implemented in wxOSX/Cocoa

Reported by: Mojca Miklavec Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: OS X
Operating system version: OS X 10.7

Description

See:

I'm attaching a patch for

../src/osx/combobox_osx.cpp(60): assert "!(style & wxCB_SORT)" failed
in Create(): wxCB_SORT not currently supported by wxOSX/Cocoa

Call stack:
[00] wxComboBox::Create(wxWindow*, int, wxString const&, wxPoint
const&, wxSize const&, wxArrayString const&, long, wxValidator const&,
wxString const&)
[01] wxComboBox::wxComboBox(wxWindow*, int, wxString const&, wxPoint
const&, wxSize const&, wxArrayString const&, long, wxValidator const&,
wxString const&)
[02] CComboBoxEx::CComboBoxEx(CViewHeader*)
[03] CViewHeader::CViewHeader(wxWindow*, wxString const&)
[04] CLocalViewHeader::CLocalViewHeader(wxWindow*, CState*)
[05] CContextControl::CreateContextControls(CState*)
[06] CContextControl::CreateTab()
[07] CMainFrame::CMainFrame()
[08] CFileZillaApp::OnInit()
[09] wxApp::CallOnInit()
[10] wxEntry(int&, wchar_t**)
[11] main
[12] start
[13] 0x00000002 Do you want to stop the program?
You can also choose [Cancel] to suppress further warnings.

triggered by the nightly on wxOSX/Cocoa (it's only an issue since the upgrade to wxWidgets 3.0).

Attachments (1)

patch-src-interface-viewheader.cpp.diff (565 bytes ) - added by Mojca Miklavec 10 years ago.

Download all attachments as: .zip

Change History (2)

by Mojca Miklavec, 10 years ago

comment:1 by Tim Kosse, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in the repository, it's still sorted as well.

Note: See TracTickets for help on using tickets.