]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipwin.cpp
added missing return on error
[wxWidgets.git] / src / generic / tipwin.cpp
index 9937d350374c162bd0056801c4f4d8bd4c69cc13..1469b554c77918cd8541da0c5c400fdd6db516bc 100644 (file)
@@ -99,12 +99,7 @@ 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
+    SetBackgroundColour(wxColour(255, 255, 231));
     // set position and size
     int x, y;
     wxGetMousePosition(&x, &y);
@@ -159,12 +154,7 @@ wxTipWindowView::wxTipWindowView(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
+    SetBackgroundColour(wxColour(255, 255, 231));
     m_creationTime = wxGetLocalTime();
 }