]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listbox.cpp
fixed setfocus() flicker in listctrl
[wxWidgets.git] / src / msw / listbox.cpp
index b4a83da00ce8fa1c0ee1a482e89cfca2e19c7a4f..93c6f176896511782aabc64a77d582a6c2b30919 100644 (file)
@@ -283,6 +283,7 @@ int wxListBox::DoAppend(const wxString& item)
         pNewItem->SetName(item);
         m_aItems.Add(pNewItem);
         ListBox_SetItemData(GetHwnd(), index, pNewItem);
+        pNewItem->SetFont(GetFont());
     }
 #endif