#NEWLINE# def SetDefaultPaneBitmaps( self , isMac ) : #NEWLINE# #INDENT# '\n        Assigns the default pane bitmaps.\n\n        :param bool `isMac`: whether we are on wxMAC or not.\n        ' #NEWLINE# if isMac : #NEWLINE# #INDENT# self . _inactive_close_bitmap = DrawMACCloseButton ( wx . WHITE , self . _inactive_caption_colour ) #NEWLINE# self . _active_close_bitmap = DrawMACCloseButton ( wx . WHITE , self . _active_caption_colour ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _inactive_close_bitmap = BitmapFromBits ( close_bits , 16 , 16 , self . _inactive_caption_text_colour ) #NEWLINE# self . _active_close_bitmap = BitmapFromBits ( close_bits , 16 , 16 , self . _active_caption_text_colour ) #NEWLINE# #UNINDENT# if isMac : #NEWLINE# #INDENT# self . _inactive_maximize_bitmap = BitmapFromBits ( max_bits , 16 , 16 , wx . WHITE ) #NEWLINE# self . _active_maximize_bitmap = BitmapFromBits ( max_bits , 16 , 16 , wx . WHITE ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _inactive_maximize_bitmap = BitmapFromBits ( max_bits , 16 , 16 , self . _inactive_caption_text_colour ) #NEWLINE# self . _active_maximize_bitmap = BitmapFromBits ( max_bits , 16 , 16 , self . _active_caption_text_colour ) #NEWLINE# #UNINDENT# if self : #NEWLINE# #INDENT# self . _inactive_restore_bitmap = BitmapFromBits ( restore_bits , 16 , 16 , wx . WHITE ) #NEWLINE# self . _active_restore_bitmap = BitmapFromBits ( restore_bits , 16 , 16 , wx . WHITE ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _inactive_restore_bitmap = BitmapFromBits ( restore_bits , 16 , 16 , self . _inactive_caption_text_colour ) #NEWLINE# self . _active_restore_bitmap = BitmapFromBits ( restore_bits , 16 , 16 , self . _active_caption_text_colour ) #NEWLINE# #UNINDENT# if isMac : #NEWLINE# #INDENT# self . _inactive_minimize_bitmap = BitmapFromBits ( minimize_bits , 16 , 16 , wx . WHITE ) #NEWLINE# self . _active_minimize_bitmap = BitmapFromBits ( minimize_bits , 16 , 16 , wx . WHITE ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _inactive_minimize_bitmap = BitmapFromBits ( minimize_bits , 16 , 16 , self . _inactive_caption_text_colour ) #NEWLINE# self . _active_minimize_bitmap = BitmapFromBits ( minimize_bits , 16 , 16 , self . _active_caption_text_colour ) #NEWLINE# #UNINDENT# self . _inactive_pin_bitmap = BitmapFromBits ( pin_bits , 16 , 16 , self . _inactive_caption_text_colour ) #NEWLINE# self . _active_pin_bitmap = BitmapFromBits ( pin_bits , 16 , 16 , self . _active_caption_text_colour ) #NEWLINE# self . _custom_pane_bitmaps = False