]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/button.cpp
corrected path splitting for mac relative paths
[wxWidgets.git] / src / os2 / button.cpp
index ab27b61602e7abeac4957c4d9c5a100cbf6fdae5..33634d0a7a4a5792c626710399c34146a1aa0b78 100644 (file)
@@ -100,7 +100,14 @@ bool wxButton::Create(
     // Subclass again for purposes of dialog editing mode
     //
     SubclassWin(m_hWnd);
-    SetFont(*wxSMALL_FONT);
+    wxFont*                          pButtonFont = new wxFont( 8
+                                                              ,wxSWISS
+                                                              ,wxNORMAL
+                                                              ,wxNORMAL
+                                                             );
+    SetFont(*pButtonFont);
+    SetXComp(0);
+    SetYComp(0);
     SetSize( rPos.x
             ,rPos.y
             ,rSize.x