#include "wx/tipwin.h"
#include "wx/timer.h"
+#include "wx/settings.h"
// ----------------------------------------------------------------------------
// constants
{
// set colours
SetForegroundColour(*wxBLACK);
-#if !defined(__WXPM__)
- SetBackgroundColour(wxColour(0xc3ffff));
+
+#ifdef __WXMSW__
+ wxColour bkCol(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_INFOBK));
#else
- // What is 0xc3ffff, try some legable documentation for those of us who don't memorize hex codes??
- SetBackgroundColour(wxColour(*wxWHITE));
+ wxColour bkCol(wxColour(255, 255, 225));
#endif
+ SetBackgroundColour(bkCol);
+
// set position and size
int x, y;
wxGetMousePosition(&x, &y);
{
// set colours
SetForegroundColour(*wxBLACK);
-#if !defined(__WXPM__)
- SetBackgroundColour(wxColour(0xc3ffff));
+#ifdef __WXMSW__
+ wxColour bkCol(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_INFOBK));
#else
- // What is 0xc3ffff, try some legable documentation for those of us who don't memorize hex codes??
- SetBackgroundColour(wxColour(*wxWHITE));
+ wxColour bkCol(wxColour(255, 255, 225));
#endif
+ SetBackgroundColour(bkCol);
m_creationTime = wxGetLocalTime();
}