]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/combobox.cpp
corrected path splitting for mac relative paths
[wxWidgets.git] / src / os2 / combobox.cpp
index 7d6565d7982d8c61dceec4b90eb94da48616fb50..fc4697b255af247b86d2a9fe607e18ade0997afd 100644 (file)
@@ -15,7 +15,8 @@
 #include "wx/wxprec.h"
 
 #ifndef WX_PRECOMP
 #include "wx/wxprec.h"
 
 #ifndef WX_PRECOMP
-#include "wx/setup.h"
+    #include "wx/setup.h"
+    #include "wx/settings.h"
 #endif
 
 #if wxUSE_COMBOBOX
 #endif
 
 #if wxUSE_COMBOBOX
@@ -142,7 +143,7 @@ bool wxComboBox::Create(
     //
     SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
 
     //
     SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
 
-    SetFont(pParent->GetFont());
+    SetFont(*wxSMALL_FONT);
 
     int                             i;
 
 
     int                             i;