From: Włodzimierz Skiba Date: Tue, 31 Aug 2004 11:39:25 +0000 (+0000) Subject: Generic dialogs not available in shared nonUniv builds due to their adjustement to... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f50ff87bdb226c2f9c61865beaa1ea839f1e74fd?ds=inline;hp=85f138db83939ce7c59a942aaecca7fa98168db3 Generic dialogs not available in shared nonUniv builds due to their adjustement to SHARED switch of wxWidgets. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/dialogs/dialogs.bkl b/samples/dialogs/dialogs.bkl index 2685c8095a..3734f1db95 100644 --- a/samples/dialogs/dialogs.bkl +++ b/samples/dialogs/dialogs.bkl @@ -4,18 +4,18 @@ - + ../../src/generic/colrdlgg.cpp ../../src/generic/dirdlgg.cpp ../../src/generic/filedlgg.cpp ../../src/generic/fontdlgg.cpp - + ../../src/generic/colrdlgg.cpp ../../src/generic/dirdlgg.cpp ../../src/generic/filedlgg.cpp - + ../../src/generic/fontdlgg.cpp ../../src/generic/filedlgg.cpp diff --git a/samples/dialogs/dialogs.h b/samples/dialogs/dialogs.h index f140a81b70..3d86a33230 100644 --- a/samples/dialogs/dialogs.h +++ b/samples/dialogs/dialogs.h @@ -18,6 +18,12 @@ #define USE_WXUNIVERSAL 0 #endif +#ifdef WXUSINGDLL + #define USE_DLL 1 +#else + #define USE_DLL 0 +#endif + #if defined(__WXMSW__) && !defined(__WXWINCE__) #define USE_WXMSW 1 #else @@ -46,7 +52,8 @@ ( \ wxUSE_COLOURDLG && \ ( USE_WXMSW || USE_WXMAC ) && \ - !USE_WXUNIVERSAL \ + !USE_WXUNIVERSAL && \ + !USE_DLL \ ) @@ -54,21 +61,24 @@ ( \ wxUSE_DIRDLG && \ ( USE_WXMSW || USE_WXMAC ) && \ - !USE_WXUNIVERSAL \ + !USE_WXUNIVERSAL && \ + !USE_DLL \ ) #define USE_FILEDLG_GENERIC \ ( \ wxUSE_FILEDLG && \ ( USE_WXMSW || USE_WXMAC || USE_WXPM ) && \ - !USE_WXUNIVERSAL \ + !USE_WXUNIVERSAL && \ + !USE_DLL \ ) #define USE_FONTDLG_GENERIC \ ( \ wxUSE_FONTDLG && \ ( USE_WXMSW || USE_WXPM ) && \ - !USE_WXUNIVERSAL \ + !USE_WXUNIVERSAL && \ + !USE_DLL \ )