X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dafbe8c0af90db9f79931ef1bbec9ceab4c40503..1fd1922a49351a377bc6ef8f7e00f150112ee096:/src/generic/tipwin.cpp diff --git a/src/generic/tipwin.cpp b/src/generic/tipwin.cpp index 30d3b8cda9..84d8d86f62 100644 --- a/src/generic/tipwin.cpp +++ b/src/generic/tipwin.cpp @@ -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();