X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..519cb848a8f4c91c73421bb75314754284e593a4:/src/stubs/bmpbuttn.cpp?ds=inline diff --git a/src/stubs/bmpbuttn.cpp b/src/stubs/bmpbuttn.cpp index 9e46c22b2b..169f0d557a 100644 --- a/src/stubs/bmpbuttn.cpp +++ b/src/stubs/bmpbuttn.cpp @@ -30,8 +30,8 @@ bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, const wxBitmap& bit SetValidator(validator); parent->AddChild(this); - m_backgroundColour = parent->GetDefaultBackgroundColour() ; - m_foregroundColour = parent->GetDefaultForegroundColour() ; + m_backgroundColour = parent->GetBackgroundColour() ; + m_foregroundColour = parent->GetForegroundColour() ; m_windowStyle = style; m_marginX = 0; m_marginY = 0;