]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/widgets.h
use wxDC::GetMultiLineTextExtent() instead of duplicating its code in wxButton::DoGet...
[wxWidgets.git] / samples / widgets / widgets.h
index d20c536108cfd03d5dde4b64b67e5f6c9616be40..6c45ee11ff5d1a595f09f22491cd0bbbe5778df1 100644 (file)
@@ -24,6 +24,12 @@ class WidgetsPageInfo;
 // all source files use wxImageList
 #include "wx/imaglist.h"
 
+#if wxUSE_LOG && !defined(__SMARTPHONE__)
+    #define USE_LOG 1
+#else
+    #define USE_LOG 0
+#endif
+
 // ----------------------------------------------------------------------------
 // WidgetsPage: a book page demonstrating some widget
 // ----------------------------------------------------------------------------