From 51a9ecbc68f2489b019520fcdd0715b2fc4fd7e3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Nov 2000 20:03:21 +0000 Subject: [PATCH] ugly compilation fix for wxMotif git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/choicdgg.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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++ ) -- 2.47.2