removed WXWIN_COMPATIBILITY_2_4 in non-MSW code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -144,13 +144,6 @@ public:
|
||||
void SetDepth(int d);
|
||||
void SetOk(bool isOk);
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
// these functions do nothing and are only there for backwards
|
||||
// compatibility
|
||||
wxDEPRECATED( int GetQuality() const );
|
||||
wxDEPRECATED( void SetQuality(int quality) );
|
||||
#endif // WXWIN_COMPATIBILITY_2_4
|
||||
|
||||
#if wxUSE_PALETTE
|
||||
wxPalette* GetPalette() const;
|
||||
void SetPalette(const wxPalette& palette);
|
||||
|
@@ -126,11 +126,6 @@ public:
|
||||
virtual bool CanSetTransparent();
|
||||
virtual wxByte GetTransparent() const ;
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
bool GetTransparentBackground() const { return m_backgroundTransparent; }
|
||||
void SetTransparent(bool t = true) { m_backgroundTransparent = t; }
|
||||
#endif
|
||||
|
||||
// event handlers
|
||||
// --------------
|
||||
void OnSetFocus( wxFocusEvent& event );
|
||||
@@ -318,10 +313,6 @@ protected:
|
||||
void MacPropagateEnabledStateChanged() ;
|
||||
void MacPropagateHiliteChanged() ;
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
bool m_backgroundTransparent ;
|
||||
#endif
|
||||
|
||||
// implement the base class pure virtuals
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
virtual wxSize DoGetSizeFromClientSize( const wxSize & size ) const;
|
||||
|
@@ -28,14 +28,6 @@
|
||||
// compatibility settings
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// This setting determines the compatibility with 2.4 API: set it to 1 to
|
||||
// enable it but please consider updating your code instead.
|
||||
//
|
||||
// Default is 0
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_4 0
|
||||
|
||||
// This setting determines the compatibility with 2.6 API: set it to 0 to
|
||||
// flag all cases of using deprecated functions.
|
||||
//
|
||||
|
Reference in New Issue
Block a user