From: Vadim Zeitlin Date: Mon, 6 Nov 2000 20:03:21 +0000 (+0000) Subject: ugly compilation fix for wxMotif X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/51a9ecbc68f2489b019520fcdd0715b2fc4fd7e3 ugly compilation fix for wxMotif git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/choicdgg.cpp b/src/generic/choicdgg.cpp index b99fe2057f..51ab2b005f 100644 --- a/src/generic/choicdgg.cpp +++ b/src/generic/choicdgg.cpp @@ -466,6 +466,11 @@ void wxMultiChoiceDialog::SetSelections(const wxArrayInt& selections) bool wxMultiChoiceDialog::TransferDataFromWindow() { + // VZ: I hate to do it but I can't fix wxMotif right now (FIXME) +#ifdef __WXMOTIF__ + #define IsSelected Selected +#endif + m_selections.Empty(); size_t count = m_listbox->GetCount(); for ( size_t n = 0; n < count; n++ )