]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipwin.cpp
fixed false alert in wxRegKey::DeleteSelf
[wxWidgets.git] / src / generic / tipwin.cpp
index 40b227ae68fde7396d4d18c2989d69a723a60bc9..26f83781ba3ae9ae4a258d8129dc7f71be649e9b 100644 (file)
@@ -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);