projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. some more tests in console
[wxWidgets.git]
/
src
/
generic
/
tipwin.cpp
diff --git
a/src/generic/tipwin.cpp
b/src/generic/tipwin.cpp
index 40b227ae68fde7396d4d18c2989d69a723a60bc9..26f83781ba3ae9ae4a258d8129dc7f71be649e9b 100644
(file)
--- a/
src/generic/tipwin.cpp
+++ b/
src/generic/tipwin.cpp
@@
-72,8
+72,12
@@
wxTipWindow::wxTipWindow(wxWindow *parent,
{
// set colours
SetForegroundColour(*wxBLACK);
{
// set colours
SetForegroundColour(*wxBLACK);
+#if !defined(__WXPM__)
SetBackgroundColour(wxColour(0xc3ffff));
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);
// 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
#ifdef __WXMSW__
dc.SetPen( * wxTRANSPARENT_PEN );
#else
- dc.SetPen( * wxBLACK_PEN
D
);
+ dc.SetPen( * wxBLACK_PEN );
#endif
dc.DrawRectangle(rect);
#endif
dc.DrawRectangle(rect);