First pass at adding MicroWindows support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -99,7 +99,14 @@ wxTipWindow::wxTipWindow(wxWindow *parent,
|
||||
{
|
||||
// set colours
|
||||
SetForegroundColour(*wxBLACK);
|
||||
SetBackgroundColour(wxColour(255, 255, 231));
|
||||
|
||||
#ifdef __WXMSW__
|
||||
wxColour bkCol(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_INFOBK));
|
||||
#else
|
||||
wxColour bkCol(wxColour(255, 255, 225));
|
||||
#endif
|
||||
SetBackgroundColour(bkCol);
|
||||
|
||||
// set position and size
|
||||
int x, y;
|
||||
wxGetMousePosition(&x, &y);
|
||||
@@ -154,7 +161,12 @@ wxTipWindowView::wxTipWindowView(wxWindow *parent)
|
||||
{
|
||||
// set colours
|
||||
SetForegroundColour(*wxBLACK);
|
||||
SetBackgroundColour(wxColour(255, 255, 231));
|
||||
#ifdef __WXMSW__
|
||||
wxColour bkCol(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_INFOBK));
|
||||
#else
|
||||
wxColour bkCol(wxColour(255, 255, 225));
|
||||
#endif
|
||||
SetBackgroundColour(bkCol);
|
||||
m_creationTime = wxGetLocalTime();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user