Oops. Some uninitialized variables messed up the

colours on various systems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-06-10 16:08:10 +00:00
parent 04e158348e
commit f76a45441a
3 changed files with 6 additions and 2 deletions

View File

@@ -3139,8 +3139,6 @@ bool wxListCtrl::Create(wxWindow *parent,
m_headerWin = (wxListHeaderWindow *) NULL;
}
SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) );
return ret;
}

View File

@@ -2057,6 +2057,9 @@ void wxWindow::Init()
m_cursor = *wxSTANDARD_CURSOR;
m_delayedForegroundColour = FALSE;
m_delayedBackgroundColour = FALSE;
#ifdef HAVE_XIM
m_ic = (GdkIC*) NULL;
m_icattr = (GdkICAttr*) NULL;

View File

@@ -2057,6 +2057,9 @@ void wxWindow::Init()
m_cursor = *wxSTANDARD_CURSOR;
m_delayedForegroundColour = FALSE;
m_delayedBackgroundColour = FALSE;
#ifdef HAVE_XIM
m_ic = (GdkIC*) NULL;
m_icattr = (GdkICAttr*) NULL;