From 744dabe3503be343ab7e6cac905f824102311c89 Mon Sep 17 00:00:00 2001 From: Tim Kosse Date: Mon, 21 Jul 2014 13:45:32 +0000 Subject: [PATCH] Fix compilation if configured with --disable-coldlg git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/colordlg.cpp | 2 +- src/osx/carbon/colordlgosx.mm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osx/carbon/colordlg.cpp b/src/osx/carbon/colordlg.cpp index 191286f6b1..53f11e0248 100644 --- a/src/osx/carbon/colordlg.cpp +++ b/src/osx/carbon/colordlg.cpp @@ -16,7 +16,7 @@ #include "wx/modalhook.h" -#if !USE_NATIVE_FONT_DIALOG_FOR_MACOSX +#if !USE_NATIVE_FONT_DIALOG_FOR_MACOSX && wxUSE_COLOURDLG IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog) diff --git a/src/osx/carbon/colordlgosx.mm b/src/osx/carbon/colordlgosx.mm index 946471ff37..e66fa62e37 100644 --- a/src/osx/carbon/colordlgosx.mm +++ b/src/osx/carbon/colordlgosx.mm @@ -28,7 +28,7 @@ // ============================================================================ //Mac OSX 10.2+ only -#if USE_NATIVE_FONT_DIALOG_FOR_MACOSX +#if USE_NATIVE_FONT_DIALOG_FOR_MACOSX && wxUSE_COLOURDLG IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)