parameters: (dc, rect)
docstring: Draws a resize hint while a sash is dragged.
  
      :param Rect `rect`: a rectangle which specifies the sash dimensions.
docstring_summary: Draws a resize hint while a sash is dragged.
docstring_tokens: Draws a resize hint while a sash is dragged .
function: def DrawResizeHint(dc, rect):
      """
      Draws a resize hint while a sash is dragged.
  
      :param Rect `rect`: a rectangle which specifies the sash dimensions.
      """
  
      if wx.Platform == "__WXMSW__" and wx.App.GetComCtl32Version() >= 600:
          if wx.GetOsVersion()[1] > 5:
              # Windows Vista
              dc.SetPen(wx.Pen("black", 2, wx.SOLID))
              dc.SetBrush(wx.TRANSPARENT_BRUSH)
          else:
              # Draw the nice XP style splitter
              dc.SetPen(wx.TRANSPARENT_PEN)
              dc.SetBrush(wx.BLACK_BRUSH)
          dc.SetLogicalFunction(wx.INVERT)
          dc.DrawRectangleRect(rect)
          dc.SetLogicalFunction(wx.COPY)
      else:
          stipple = PaneCreateStippleBitmap()
          brush = wx.BrushFromBitmap(stipple)
          dc.SetBrush(brush)
          dc.SetPen(wx.TRANSPARENT_PEN)
  
          dc.SetLogicalFunction(wx.XOR)
          dc.DrawRectangleRect(rect)
function_tokens: def DrawResizeHint ( dc , rect ) : if wx . Platform == "__WXMSW__" and wx . App . GetComCtl32Version ( ) >= 600 : if wx . GetOsVersion ( ) [ 1 ] > 5 : # Windows Vista dc . SetPen ( wx . Pen ( "black" , 2 , wx . SOLID ) ) dc . SetBrush ( wx . TRANSPARENT_BRUSH ) else : # Draw the nice XP style splitter dc . SetPen ( wx . TRANSPARENT_PEN ) dc . SetBrush ( wx . BLACK_BRUSH ) dc . SetLogicalFunction ( wx . INVERT ) dc . DrawRectangleRect ( rect ) dc . SetLogicalFunction ( wx . COPY ) else : stipple = PaneCreateStippleBitmap ( ) brush = wx . BrushFromBitmap ( stipple ) dc . SetBrush ( brush ) dc . SetPen ( wx . TRANSPARENT_PEN ) dc . SetLogicalFunction ( wx . XOR ) dc . DrawRectangleRect ( rect )