git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6880
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxBitmap *stipple = m_brush.GetStipple();
if ( stipple && stipple->Ok() )
{
wxBitmap *stipple = m_brush.GetStipple();
if ( stipple && stipple->Ok() )
{
::SetBrushOrgEx(GetHdc(),
m_deviceOriginX % stipple->GetWidth(),
m_deviceOriginY % stipple->GetHeight(),
NULL); // don't need previous brush origin
::SetBrushOrgEx(GetHdc(),
m_deviceOriginX % stipple->GetWidth(),
m_deviceOriginY % stipple->GetHeight(),
NULL); // don't need previous brush origin
+#else
+ ::SetBrushOrg(GetHdc(),
+ m_deviceOriginX % stipple->GetWidth(),
+ m_deviceOriginY % stipple->GetHeight());
+#endif
}
if ( m_brush.GetResourceHandle() )
}
if ( m_brush.GetResourceHandle() )