]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/choicdgg.cpp
font retrieval synched for setsize and bestsize
[wxWidgets.git] / src / generic / choicdgg.cpp
index 2d839af29503ddc75a83172d39c934a1c9cd6b23..6183fdefd3f4a29ba43e4c10fbab5586a3e04945 100644 (file)
 
 #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
 // ----------------------------------------------------------------------------