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:
15
Externals/wxWidgets3/include/wx/gtk/region.h
vendored
15
Externals/wxWidgets3/include/wx/gtk/region.h
vendored
@ -2,7 +2,6 @@
|
||||
// Name: wx/gtk/region.h
|
||||
// Purpose:
|
||||
// Author: Robert Roebling
|
||||
// Id: $Id: region.h 69815 2011-11-25 00:52:24Z PC $
|
||||
// Copyright: (c) 1998 Robert Roebling
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
@ -10,6 +9,10 @@
|
||||
#ifndef _WX_GTK_REGION_H_
|
||||
#define _WX_GTK_REGION_H_
|
||||
|
||||
#ifdef __WXGTK3__
|
||||
typedef struct _cairo_region cairo_region_t;
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxRegion
|
||||
// ----------------------------------------------------------------------------
|
||||
@ -56,12 +59,12 @@ public:
|
||||
virtual void Clear();
|
||||
virtual bool IsEmpty() const;
|
||||
|
||||
public:
|
||||
// Init with GdkRegion, set ref count to 2 so that
|
||||
// the C++ class will not destroy the region!
|
||||
wxRegion( GdkRegion *region );
|
||||
|
||||
#ifdef __WXGTK3__
|
||||
cairo_region_t* GetRegion() const;
|
||||
#else
|
||||
wxRegion(const GdkRegion* region);
|
||||
GdkRegion *GetRegion() const;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
|
Reference in New Issue
Block a user