]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/listbox.cpp
New Refresh()/Update() behaviour. As expected, scrolling
[wxWidgets.git] / src / os2 / listbox.cpp
index df1b7cc473d7e48f451c348e78e0413a439c3810..f99ec829ec8f1908f5d3fc98a43a3b01fc258694 100644 (file)
@@ -22,6 +22,7 @@
 #include "wx/font.h"
 #include "wx/dc.h"
 #include "wx/utils.h"
+#include "wx/scrolwin.h"
 #endif
 
 #define INCL_M
@@ -178,8 +179,8 @@ bool wxListBox::Create(
     {
         Append(asChoices[lUi]);
     }
-    SetFont(pParent->GetFont());
-    
+    SetFont(*wxSMALL_FONT);
+
     //
     // Set standard wxWindows colors for Listbox items and highlighting
     //