fix the wrong #ifdef WXWIN_COMPATIBILITY_2_8 checks, #if should be used (#9644)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -112,7 +112,7 @@ public:
|
||||
wxBitmapType GetType() const { return m_type; }
|
||||
const wxString& GetMimeType() const { return m_mime; }
|
||||
|
||||
#ifdef WXWIN_COMPATIBILITY_2_8
|
||||
#if WXWIN_COMPATIBILITY_2_8
|
||||
wxDEPRECATED(
|
||||
void SetType(long type) { SetType((wxBitmapType)type); }
|
||||
)
|
||||
@@ -434,7 +434,7 @@ public:
|
||||
static HSVValue RGBtoHSV(const RGBValue& rgb);
|
||||
static RGBValue HSVtoRGB(const HSVValue& hsv);
|
||||
|
||||
#ifdef WXWIN_COMPATIBILITY_2_8
|
||||
#if WXWIN_COMPATIBILITY_2_8
|
||||
wxDEPRECATED(
|
||||
wxImage(const wxString& name, long type, int index = -1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user