]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipwin.cpp
fixed memory allocation code of wxStreamBuffer to not realloc() new[]ed memory any...
[wxWidgets.git] / src / generic / tipwin.cpp
index 6dc8aa8658c187e771d642fc317284ec4e4f8206..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);