Tried to make wxListBox::Update() work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,6 +75,8 @@ public:
|
||||
|
||||
virtual void EnsureVisible(int n);
|
||||
|
||||
virtual void Update();
|
||||
|
||||
static wxVisualAttributes
|
||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||
|
||||
|
@@ -504,6 +504,15 @@ void wxListBox::GtkEnableEvents()
|
||||
UpdateOldSelections();
|
||||
}
|
||||
|
||||
|
||||
void wxListBox::Update()
|
||||
{
|
||||
wxWindow::Update();
|
||||
|
||||
if (m_treeview)
|
||||
gdk_window_process_updates(m_wxwindow->window, TRUE);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// adding items
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user