From: Włodzimierz Skiba Date: Wed, 23 Jun 2004 11:55:33 +0000 (+0000) Subject: Private macro moved in waiting for DektopPolicy implementation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4b0881393cc1bbc81f8d57a257494a27489798dd 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 --- 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 // ----------------------------------------------------------------------------