]> git.saurik.com Git - wxWidgets.git/commitdiff
Now sets the font for newly appended ownerdraw items.
authorRobin Dunn <robin@alldunn.com>
Tue, 23 Nov 1999 00:01:50 +0000 (00:01 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 23 Nov 1999 00:01:50 +0000 (00:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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