Fixed a layout bug in MyFixed

More things done after realization
  wxListCtrl is grey now. Why?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-04-25 01:00:34 +00:00
parent 7ef156f797
commit 58dea4b067
14 changed files with 97 additions and 52 deletions

View File

@@ -2335,6 +2335,8 @@ bool wxListCtrl::Create( wxWindow *parent, wxWindowID id,
else
m_headerWin = (wxListHeaderWindow *) NULL;
SetBackgroundColour( *wxWHITE );
return ret;
}
@@ -2795,6 +2797,8 @@ void wxListCtrl::OnIdle( wxIdleEvent &WXUNUSED(event) )
void wxListCtrl::SetBackgroundColour( const wxColour &colour )
{
wxWindow::SetBackgroundColour( colour );
if (m_mainWin)
{
m_mainWin->SetBackgroundColour( colour );
@@ -2809,6 +2813,8 @@ void wxListCtrl::SetBackgroundColour( const wxColour &colour )
void wxListCtrl::SetForegroundColour( const wxColour &colour )
{
wxWindow::SetForegroundColour( colour );
if (m_mainWin)
{
m_mainWin->SetForegroundColour( colour );
@@ -2823,6 +2829,8 @@ void wxListCtrl::SetForegroundColour( const wxColour &colour )
void wxListCtrl::SetFont( const wxFont &font )
{
wxWindow::SetFont( font );
if (m_mainWin)
{
m_mainWin->SetFont( font );