Deprecate Set{Height,Width,Depth} for other platforms as well
Fixes GTK build with --disable-compat30 See https://github.com/wxWidgets/wxWidgets/pull/925
This commit is contained in:
@@ -1139,6 +1139,7 @@ void wxBitmap::SetPalette(const wxPalette& WXUNUSED(palette))
|
||||
}
|
||||
#endif // wxUSE_PALETTE
|
||||
|
||||
#if WXWIN_COMPATIBILITY_3_0
|
||||
void wxBitmap::SetHeight( int height )
|
||||
{
|
||||
AllocExclusive();
|
||||
@@ -1156,6 +1157,7 @@ void wxBitmap::SetDepth( int depth )
|
||||
AllocExclusive();
|
||||
M_BMPDATA->m_bpp = depth;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef __WXGTK3__
|
||||
void wxBitmap::SetPixmap( GdkPixmap *pixmap )
|
||||
|
Reference in New Issue
Block a user