X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/129caaddf1062e108e2018acc1d2205dc24cfc7e..f1d93f0beeec9d88f8a225aa35a9ccc163dcdb15:/src/generic/tipwin.cpp diff --git a/src/generic/tipwin.cpp b/src/generic/tipwin.cpp index 40b227ae68..26f83781ba 100644 --- a/src/generic/tipwin.cpp +++ b/src/generic/tipwin.cpp @@ -72,8 +72,12 @@ wxTipWindow::wxTipWindow(wxWindow *parent, { // set colours SetForegroundColour(*wxBLACK); +#if !defined(__WXPM__) SetBackgroundColour(wxColour(0xc3ffff)); - +#else + // What is 0xc3ffff, try some legable documentation for those of us who don't memorize hex codes?? + SetBackgroundColour(wxColour(*wxWHITE)); +#endif // set position and size int x, y; wxGetMousePosition(&x, &y); @@ -164,7 +168,7 @@ void wxTipWindow::OnPaint(wxPaintEvent& event) #ifdef __WXMSW__ dc.SetPen( * wxTRANSPARENT_PEN ); #else - dc.SetPen( * wxBLACK_PEND ); + dc.SetPen( * wxBLACK_PEN ); #endif dc.DrawRectangle(rect);