parameters: (self)
return_statement: return wx.Size(self._bitmap.GetWidth(), self._bitmap.GetHeight())
docstring: Overridden base class virtual. Determines the best size of the
          control based on the bitmap size.
  
          :note: Overridden from :class:`PyControl`.
docstring_summary: Overridden base class virtual. Determines the best size of the
          control based on the bitmap size.
docstring_tokens: Overridden base class virtual . Determines the best size of the control based on the bitmap size .
function: def DoGetBestSize(self):
          """
          Overridden base class virtual. Determines the best size of the
          control based on the bitmap size.
  
          :note: Overridden from :class:`PyControl`.
          """
  
          return wx.Size(self._bitmap.GetWidth(), self._bitmap.GetHeight())
function_tokens: def DoGetBestSize ( self ) : return wx . Size ( self . _bitmap . GetWidth ( ) , self . _bitmap . GetHeight ( ) )