bitmap mask corrections for Mac OS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
94e2ed3b8d
commit
a99c96b0ff
@ -172,7 +172,7 @@ LifeAboutDialog::LifeAboutDialog(wxWindow *parent)
|
|||||||
{
|
{
|
||||||
// logo
|
// logo
|
||||||
wxBitmap bmp = wxBITMAP(life);
|
wxBitmap bmp = wxBITMAP(life);
|
||||||
#if !defined(__WXGTK__) && !defined(__WXMOTIF__)
|
#if !defined(__WXGTK__) && !defined(__WXMOTIF__) && !defined(__WXMAC__)
|
||||||
bmp.SetMask(new wxMask(bmp, *wxBLUE));
|
bmp.SetMask(new wxMask(bmp, *wxBLUE));
|
||||||
#endif
|
#endif
|
||||||
wxStaticBitmap *sbmp = new wxStaticBitmap(this, -1, bmp);
|
wxStaticBitmap *sbmp = new wxStaticBitmap(this, -1, bmp);
|
||||||
|
@ -602,7 +602,7 @@ LifeNavigator::LifeNavigator(wxWindow *parent)
|
|||||||
bmpe = wxBITMAP(east),
|
bmpe = wxBITMAP(east),
|
||||||
bmps = wxBITMAP(south);
|
bmps = wxBITMAP(south);
|
||||||
|
|
||||||
#if !defined(__WXGTK__) && !defined(__WXMOTIF__)
|
#if !defined(__WXGTK__) && !defined(__WXMOTIF__) && !defined(__WXMAC__)
|
||||||
bmpn.SetMask(new wxMask(bmpn, *wxLIGHT_GREY));
|
bmpn.SetMask(new wxMask(bmpn, *wxLIGHT_GREY));
|
||||||
bmpw.SetMask(new wxMask(bmpw, *wxLIGHT_GREY));
|
bmpw.SetMask(new wxMask(bmpw, *wxLIGHT_GREY));
|
||||||
bmpc.SetMask(new wxMask(bmpc, *wxLIGHT_GREY));
|
bmpc.SetMask(new wxMask(bmpc, *wxLIGHT_GREY));
|
||||||
|
Loading…
Reference in New Issue
Block a user