X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..d3a9f4afd904aa7e58ba065434e7fca3e37f6e01:/src/stubs/bmpbuttn.cpp 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;