git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54372
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
//
// please use wxRenderer::DrawBorder() instead of DrawSunkenEdge(); there is no
// replacement for TileBitmap() but it doesn't seem to be very useful anyhow
//
// please use wxRenderer::DrawBorder() instead of DrawSunkenEdge(); there is no
// replacement for TileBitmap() but it doesn't seem to be very useful anyhow
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
/*
* wxEffects: various 3D effects
/*
* wxEffects: various 3D effects
// return true if the window was shown, false if hidden
bool IsShown() const { return m_show; }
// return true if the window was shown, false if hidden
bool IsShown() const { return m_show; }
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
wxDEPRECATED( bool GetShow() const { return IsShown(); } )
#endif
wxDEPRECATED( bool GetShow() const { return IsShown(); } )
#endif
: wxEvent(event)
{ m_iconized = event.m_iconized; }
: wxEvent(event)
{ m_iconized = event.m_iconized; }
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
wxDEPRECATED( bool Iconized() const { return IsIconized(); } )
#endif
// return true if the frame was iconized, false if restored
wxDEPRECATED( bool Iconized() const { return IsIconized(); } )
#endif
// return true if the frame was iconized, false if restored
// check if we have any icons at all
bool IsEmpty() const { return GetIconCount() == 0; }
// check if we have any icons at all
bool IsEmpty() const { return GetIconCount() == 0; }
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
wxDEPRECATED( void AddIcon(const wxString& file, long type)
{
AddIcon(file, (long)type);
wxDEPRECATED( void AddIcon(const wxString& file, long type)
{
AddIcon(file, (long)type);
wxBitmapType GetType() const { return m_type; }
const wxString& GetMimeType() const { return m_mime; }
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); }
)
wxDEPRECATED(
void SetType(long type) { SetType((wxBitmapType)type); }
)
static HSVValue RGBtoHSV(const RGBValue& rgb);
static RGBValue HSVtoRGB(const HSVValue& hsv);
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)
{
wxDEPRECATED(
wxImage(const wxString& name, long type, int index = -1)
{
#include "wx/gdicmn.h"
#endif //WX_PRECOMP
#include "wx/gdicmn.h"
#endif //WX_PRECOMP
+#if WXWIN_COMPATIBILITY_2_8
+
/*
* wxEffectsImpl: various 3D effects
*/
/*
* wxEffectsImpl: various 3D effects
*/
+
+#endif // WXWIN_COMPATIBILITY_2_8
+