]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/htmllbox.cpp
move generic part of AdjustSize() and status bar methods to the base class
[wxWidgets.git] / src / generic / htmllbox.cpp
index e0b3fd08f1236487dd06acf9e880ab56d73cdb54..b104f3c2f5feb34446b20f9aefa701dbe7954519 100644 (file)
@@ -301,7 +301,7 @@ void wxHtmlListBox::CacheItem(size_t n) const
 
         // set the cell's ID to item's index so that CellCoordsToPhysical()
         // can quickly find the item:
 
         // set the cell's ID to item's index so that CellCoordsToPhysical()
         // can quickly find the item:
-        cell->SetId(wxString::Format(_T("%u"), n));
+        cell->SetId(wxString::Format(_T("%lu"), (unsigned long)n));
 
         cell->Layout(GetClientSize().x - 2*GetMargins().x);
 
 
         cell->Layout(GetClientSize().x - 2*GetMargins().x);