From 4b0881393cc1bbc81f8d57a257494a27489798dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 23 Jun 2004 11:55:33 +0000 Subject: [PATCH] Private macro moved in waiting for DektopPolicy implementation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gdicmn.h | 10 ---------- src/generic/choicdgg.cpp | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 86d16717a7..029ce3def3 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -189,16 +189,6 @@ enum wxStockCursor #define wxBITMAP(name) wxBitmap(name##_xpm, wxBITMAP_TYPE_XPM) #endif // platform -/* Macro for avoiding #ifdefs when value have to be different depending on size of - device we display on - */ - -#if defined(__SMARTPHONE__) - #define wxLARGESMALL(large,small) small -#else - #define wxLARGESMALL(large,small) large -#endif - // =========================================================================== // classes // =========================================================================== diff --git a/src/generic/choicdgg.cpp b/src/generic/choicdgg.cpp index 2d839af295..6183fdefd3 100644 --- a/src/generic/choicdgg.cpp +++ b/src/generic/choicdgg.cpp @@ -54,6 +54,20 @@ #define wxID_LISTBOX 3000 +// --------------------------------------------------------------------------- +// macros +// --------------------------------------------------------------------------- + +/* Macro for avoiding #ifdefs when value have to be different depending on size of + device we display on + */ + +#if defined(__SMARTPHONE__) + #define wxLARGESMALL(large,small) small +#else + #define wxLARGESMALL(large,small) large +#endif + // ---------------------------------------------------------------------------- // private functions // ----------------------------------------------------------------------------