Implement basic MVC logic (change an item in one
view and all views update themselves) and made wxDataViewToggleCell react to mouse clicks as a test for that (generic code). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -997,7 +997,7 @@ wxDataViewToggleCell::wxDataViewToggleCell( const wxString &varianttype,
|
||||
{
|
||||
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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user