]> git.saurik.com Git - wxWidgets.git/commitdiff
ugly compilation fix for wxMotif
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Nov 2000 20:03:21 +0000 (20:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Nov 2000 20:03:21 +0000 (20:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/choicdgg.cpp

index b99fe2057f6ef1cbe3b26d3800b2e3755ff507c5..51ab2b005f76a63ad81f1174997e23cffefa1bf6 100644 (file)
@@ -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++ )