]> git.saurik.com Git - wxWidgets.git/commitdiff
set anti-aliasing ON by default
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 9 Oct 2006 15:51:22 +0000 (15:51 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 9 Oct 2006 15:51:22 +0000 (15:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/graphics.cpp

index bdad1343e3367275b5658d26d8335b17d8949770..7acde4bd2c728c2e33b7373d1aaf039f28df6d48 100644 (file)
@@ -348,6 +348,7 @@ wxGDIPlusContext::wxGDIPlusContext( WXHDC hdc  )
 {
     gGDILoader.EnsureIsLoaded();
     m_context = new Graphics( (HDC) hdc);
+    m_context->SetSmoothingMode(SmoothingModeHighQuality);
     m_state1 = m_context->Save();
     m_state2 = m_context->Save();