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:
@@ -3139,8 +3139,6 @@ bool wxListCtrl::Create(wxWindow *parent,
|
||||
m_headerWin = (wxListHeaderWindow *) NULL;
|
||||
}
|
||||
|
||||
SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) );
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user