git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2391
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifdef M_BASEDIR
# include "gui/wxllist.h"
+# undef SHOW_SELECTIONS
#else
# include "wxllist.h"
+# define SHOW_SELECTIONS
#endif
#ifndef USE_PCH
void
wxLayoutList::StartHighlighting(wxDC &dc)
{
+#ifdef SHOW_SELECTIONS
dc.SetTextForeground(m_ColourBG);
dc.SetTextBackground(m_ColourFG);
+#endif
}
/// Ends highlighting the selection
void
wxLayoutList::EndHighlighting(wxDC &dc)
{
+#ifdef SHOW_SELECTIONS
dc.SetTextForeground(m_ColourFG);
dc.SetTextBackground(m_ColourBG);
+#endif
}