missing #if's needed for compilation with some wxUSE_XXX set to 0 (patch 728413)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1090,11 +1090,13 @@ wxBitmap wxBitmap::GetSubBitmap( const wxRect& rect) const
|
||||
// wxBitmap accessors
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_PALETTE
|
||||
wxPalette* wxBitmap::GetPalette() const
|
||||
{
|
||||
return GetBitmapData() ? &GetBitmapData()->m_bitmapPalette
|
||||
: (wxPalette *) NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
wxMask *wxBitmap::GetMask() const
|
||||
{
|
||||
|
Reference in New Issue
Block a user