#if wxUSE_DATAVIEWCTRL
#include "wx/dataview.h"
+
+#ifndef wxUSE_GENERICDATAVIEWCTRL
+
#include "wx/stockitem.h"
#include "wx/dcclient.h"
#include "wx/calctrl.h"
class wxDataViewCtrl;
-//-----------------------------------------------------------------------------
-// idle system
-//-----------------------------------------------------------------------------
-
-extern void wxapp_install_idle_handler();
-extern bool g_isIdle;
-
//-----------------------------------------------------------------------------
// data
//-----------------------------------------------------------------------------
{
m_renderer = (void*) gtk_cell_renderer_toggle_new();
- if (m_mode & wxDATAVIEW_CELL_EDITABLE)
+ if (m_mode & wxDATAVIEW_CELL_ACTIVATABLE)
{
g_signal_connect_after( m_renderer, "toggled", G_CALLBACK(wxGtkToggleRendererToggledCallback), this );
}
return true;
}
+#endif
+ // !wxUSE_GENERICDATAVIEWCTRL
-#endif // wxUSE_DATAVIEWCTRL
+#endif
+ // wxUSE_DATAVIEWCTRL