Found flickering bug wrt cursors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3918
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int i = m_treeCtrl->GetChildrenCount( item, FALSE );
int i = m_treeCtrl->GetChildrenCount( item, FALSE );
- wxLogMessage(T("%d children"), i);
+ wxLogMessage(wxT("%d children"), i);
}
void MyFrame::OnCountRec(wxCommandEvent& WXUNUSED(event))
}
void MyFrame::OnCountRec(wxCommandEvent& WXUNUSED(event))
int i = m_treeCtrl->GetChildrenCount( item );
int i = m_treeCtrl->GetChildrenCount( item );
- wxLogMessage(T("%d children"), i);
+ wxLogMessage(wxT("%d children"), i);
}
void MyFrame::DoSort(bool reverse)
}
void MyFrame::DoSort(bool reverse)
wxArrayTreeItemIds array;
size_t count = m_treeCtrl->GetSelections(array);
wxArrayTreeItemIds array;
size_t count = m_treeCtrl->GetSelections(array);
- wxLogMessage(T("%u items selected"), count);
+ wxLogMessage(wxT("%u items selected"), count);
for ( size_t n = 0; n < count; n++ )
{
for ( size_t n = 0; n < count; n++ )
{
cursor = *wxSTANDARD_CURSOR;
window = m_widget->window;
cursor = *wxSTANDARD_CURSOR;
window = m_widget->window;
+ if ((window) && !(GTK_WIDGET_NO_WINDOW(m_widget)))
gdk_window_set_cursor( window, cursor.GetCursor() );
}
}
gdk_window_set_cursor( window, cursor.GetCursor() );
}
}
cursor = *wxSTANDARD_CURSOR;
window = m_widget->window;
cursor = *wxSTANDARD_CURSOR;
window = m_widget->window;
+ if ((window) && !(GTK_WIDGET_NO_WINDOW(m_widget)))
gdk_window_set_cursor( window, cursor.GetCursor() );
}
}
gdk_window_set_cursor( window, cursor.GetCursor() );
}
}