]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcclient.cpp
Typo fix
[wxWidgets.git] / src / os2 / dcclient.cpp
index eef2ccd489b602e367f12989c776b874d948a1b4..4bb99210df4473b43a20c10d1d57d4440e6e618e 100644 (file)
@@ -160,6 +160,18 @@ void wxWindowDC::InitDC()
     vColor.Set("WHITE");
     m_brush.SetColour(vColor);
     InitializePalette();
     vColor.Set("WHITE");
     m_brush.SetColour(vColor);
     InitializePalette();
+    wxFont*                         pFont = new wxFont( 12
+                                                       ,wxNORMAL
+                                                       ,wxNORMAL
+                                                       ,wxBOLD
+                                                      );
+    SetFont(*pFont);
+    delete pFont;
+    //
+    // OS/2 default vertical character allignment needs to match the other OS's
+    //
+    ::GpiSetTextAlignment((HPS)GetHPS(), TA_NORMAL_HORIZ, TA_BOTTOM);
+
 } // end of wxWindowDC::InitDC
 
 void wxWindowDC::DoGetSize(
 } // end of wxWindowDC::InitDC
 
 void wxWindowDC::DoGetSize(