don't set statusbar background color

people with dark system theme otherwise have white text on light-grey bg
This commit is contained in:
Marius Hanne 2011-01-19 01:27:58 +01:00
parent b4671902f2
commit ed4e8830d7
2 changed files with 1 additions and 2 deletions

View file

@ -61,7 +61,6 @@ CMainFrameBase::CMainFrameBase( wxWindow* parent, wxWindowID id, const wxString&
m_toolBar->Realize(); m_toolBar->Realize();
m_statusBar = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY ); m_statusBar = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY );
m_statusBar->SetBackgroundColour( wxColour( 240, 240, 240 ) );
wxBoxSizer* bSizer2; wxBoxSizer* bSizer2;
bSizer2 = new wxBoxSizer( wxVERTICAL ); bSizer2 = new wxBoxSizer( wxVERTICAL );

View file

@ -282,7 +282,7 @@
</object> </object>
</object> </object>
<object class="wxStatusBar" expanded="1"> <object class="wxStatusBar" expanded="1">
<property name="bg">240,240,240</property> <property name="bg"></property>
<property name="context_help"></property> <property name="context_help"></property>
<property name="enabled">1</property> <property name="enabled">1</property>
<property name="fg"></property> <property name="fg"></property>