From c3ba472abb527cf829ec83acfb8506e2771c0a16 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 16 Jul 2014 22:55:08 +0000 Subject: [PATCH] Fix test for __WXOSX__ in common code. Check whether it's defined, not whether it's true. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/prntbase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/prntbase.h b/include/wx/prntbase.h index d0c05b903b..b8b56e0c2c 100644 --- a/include/wx/prntbase.h +++ b/include/wx/prntbase.h @@ -164,8 +164,8 @@ public: virtual bool TransferTo( wxPrintData &data ) = 0; virtual bool TransferFrom( const wxPrintData &data ) = 0; -#if __WXOSX__ - // in order to expose functionality already to the result type of the ..PrintData->GetNativeData() +#ifdef __WXOSX__ + // in order to expose functionality already to the result type of the ..PrintData->GetNativeData() virtual void TransferFrom( const wxPageSetupDialogData * ) = 0; virtual void TransferTo( wxPageSetupDialogData * ) = 0; #endif