mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 02:29:59 -06:00
Upgrade WX to r74856, mainly to support @2x.
This commit is contained in:
10
Externals/wxWidgets3/include/wx/msw/dib.h
vendored
10
Externals/wxWidgets3/include/wx/msw/dib.h
vendored
@ -4,7 +4,6 @@
|
||||
// Author: Vadim Zeitlin
|
||||
// Modified by:
|
||||
// Created: 03.03.03 (replaces the old file with the same name)
|
||||
// RCS-ID: $Id: dib.h 65959 2010-10-30 23:50:50Z VZ $
|
||||
// Copyright: (c) 1997-2003 wxWidgets team
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
@ -12,13 +11,16 @@
|
||||
#ifndef _WX_MSW_DIB_H_
|
||||
#define _WX_MSW_DIB_H_
|
||||
|
||||
class WXDLLIMPEXP_FWD_CORE wxBitmap;
|
||||
class WXDLLIMPEXP_FWD_CORE wxPalette;
|
||||
|
||||
#include "wx/msw/private.h"
|
||||
|
||||
#if wxUSE_WXDIB
|
||||
|
||||
#ifdef __WXMSW__
|
||||
#include "wx/bitmap.h"
|
||||
#endif // __WXMSW__
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxDIB: represents a DIB section
|
||||
// ----------------------------------------------------------------------------
|
||||
@ -37,9 +39,11 @@ public:
|
||||
wxDIB(int width, int height, int depth)
|
||||
{ Init(); (void)Create(width, height, depth); }
|
||||
|
||||
#ifdef __WXMSW__
|
||||
// create a DIB from the DDB
|
||||
wxDIB(const wxBitmap& bmp)
|
||||
{ Init(); (void)Create(bmp); }
|
||||
#endif // __WXMSW__
|
||||
|
||||
// create a DIB from the Windows DDB
|
||||
wxDIB(HBITMAP hbmp)
|
||||
@ -53,7 +57,9 @@ public:
|
||||
|
||||
// same as the corresponding ctors but with return value
|
||||
bool Create(int width, int height, int depth);
|
||||
#ifdef __WXMSW__
|
||||
bool Create(const wxBitmap& bmp) { return Create(GetHbitmapOf(bmp)); }
|
||||
#endif
|
||||
bool Create(HBITMAP hbmp);
|
||||
bool Load(const wxString& filename);
|
||||
|
||||
|
Reference in New Issue
Block a user