Search code examples
pythonwxpythonwxwidgets

Changing background colour of wx.MDIParentFrame


The default colour of the background of a wx.MDIParentFrame is a dark gray colour. I would like to change that colour.

Does anyone know how?

http://wxpython.org/docs/api/wx.MDIParentFrame-class.html I cant see a way to change the default background, Are there any other ways?


Solution

  • since it inherits from Frame cant you just do

    my_MIDIParentFrame.SetBackgroundColour("black") ?
    

    maybe instead you could do

    wx.Frame.SetBackgroundColour(my_MIDI_PARENT_FRAME,"black")
    

    I dont know for sure ... but I think those will work...