Fix using WXWIN_COMPATIBILITY_3_0 in conditional blocks in wxPG code.
Check the value of WXWIN_COMPATIBILITY_3_0 instead of checking whether it is defined. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -459,7 +459,7 @@ wxPropertyCategory* wxPropertyGridPageState::GetPropertyCategory( const wxPGProp
|
||||
// wxPropertyGridPageState GetPropertyXXX methods
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
#ifdef WXWIN_COMPATIBILITY_3_0
|
||||
#if WXWIN_COMPATIBILITY_3_0
|
||||
wxPGProperty* wxPropertyGridPageState::GetPropertyByLabel
|
||||
( const wxString& label, wxPGProperty* parent ) const
|
||||
{
|
||||
|
Reference in New Issue
Block a user