use standard colours in all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
17d61cbfb4
commit
9dcd75f8da
@ -135,15 +135,8 @@ wxTipWindow::wxTipWindow(wxWindow *parent,
|
||||
}
|
||||
|
||||
// set colours
|
||||
//
|
||||
// VZ: why don't we use wxSystemSettings for !MSW? (FIXME)
|
||||
#ifdef __WXMSW__
|
||||
SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_INFOTEXT));
|
||||
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_INFOBK));
|
||||
#else
|
||||
SetForegroundColour(*wxBLACK);
|
||||
SetBackgroundColour(*wxWHITE);
|
||||
#endif
|
||||
|
||||
// set size, position and show it
|
||||
m_view = new wxTipWindowView(this);
|
||||
@ -240,15 +233,8 @@ wxTipWindowView::wxTipWindowView(wxWindow *parent)
|
||||
wxNO_BORDER)
|
||||
{
|
||||
// set colours
|
||||
//
|
||||
// VZ: why don't we use wxSystemSettings for !MSW? (FIXME)
|
||||
#ifdef __WXMSW__
|
||||
SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_INFOTEXT));
|
||||
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_INFOBK));
|
||||
#else
|
||||
SetForegroundColour(*wxBLACK);
|
||||
SetBackgroundColour(*wxWHITE);
|
||||
#endif
|
||||
|
||||
#if !wxUSE_POPUPWIN
|
||||
m_creationTime = wxGetLocalTime();
|
||||
|
Loading…
Reference in New Issue
Block a user