]> git.saurik.com Git - wxWidgets.git/commitdiff
Minimize diff for ports where features are not possible.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 22 Jun 2004 08:15:54 +0000 (08:15 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 22 Jun 2004 08:15:54 +0000 (08:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialogs/dialogs.h

index a33f4ea9b4d4d068d9f91a65cd7cd02675cd3e02..c328fab59165d184153fc9ed2ea6dfd0ff60cbde 100644 (file)
     )
 
 
-#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