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:
Artur Wieczorek
2015-01-13 16:41:33 +00:00
parent 630b7fd5d7
commit 7a9ae4aecf
5 changed files with 5 additions and 5 deletions

View File

@@ -157,7 +157,7 @@ public:
*/
void SetSplitterPosition( int splitterPos, int col = 0 );
#ifdef WXWIN_COMPATIBILITY_3_0
#if WXWIN_COMPATIBILITY_3_0
// To avoid ambiguity between functions inherited
// from both wxPropertyGridInterface and wxPropertyGridPageState
using wxPropertyGridInterface::GetPropertyByLabel;