From 6c1035d3c19b9df0f681205cec0eeb9395fbf8d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 22 Jun 2004 08:15:54 +0000 Subject: [PATCH] Minimize diff for ports where features are not possible. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/dialogs/dialogs.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/samples/dialogs/dialogs.h b/samples/dialogs/dialogs.h index a33f4ea9b4..c328fab591 100644 --- a/samples/dialogs/dialogs.h +++ b/samples/dialogs/dialogs.h @@ -42,7 +42,13 @@ ) -#define USE_MODAL_PRESENTATION 1 +#define USE_MODAL_PRESENTATION \ + ( \ + defined(__WXMSW__) || \ + defined(__WXMAC__) || \ + defined(__WXGTK__) || \ + defined(__WXPM__) \ + ) // Define a new application type class MyApp: public wxApp -- 2.50.0