// Purpose: wxBannerWindow class declaration
// Author: Vadim Zeitlin
// Created: 2011-08-16
-// RCS-ID: $Id$
// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// configurable in the future.
wxFont GetTitleFont() const;
+ // Return the colour to use for extending the bitmap. Non-const as it
+ // updates m_colBitmapBg if needed.
+ wxColour GetBitmapBg();
+
// The window side along which the banner is laid out.
wxDirection m_direction;
// If valid, this bitmap is drawn as is.
wxBitmap m_bitmap;
+ // If bitmap is valid, this is the colour we use to extend it if the bitmap
+ // is smaller than this window. It is computed on demand by GetBitmapBg().
+ wxColour m_colBitmapBg;
+
// The title and main message to draw, used if m_bitmap is invalid.
wxString m_title,
m_message;