]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/spinbutt.cpp
corrected path splitting for mac relative paths
[wxWidgets.git] / src / os2 / spinbutt.cpp
index 55e9b2c6a350d1c8b4dcd1464b15b35ae6479f53..720b9d0f1eb64e136d1150bf922b1d80bd97782a 100644 (file)
@@ -141,7 +141,7 @@ bool wxSpinButton::Create(
     ::WinQueryWindowPos(m_hWnd, &vSwp);
     SetXComp(vSwp.x);
     SetYComp(vSwp.y);
-    SetFont(pParent->GetFont());
+    SetFont(*wxSMALL_FONT);
     //
     // For OS/2 we want to hide the text portion so we can substitute an
     // independent text ctrl in its place.  10 device units does this