]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/calendar/calendar.cpp
Applied patch showing off John Labenski's
[wxWidgets.git] / samples / calendar / calendar.cpp
index b16e1b0c906ba866d34d2f9b718bd26b4ac16fb9..1d66e3925381593e456ad517667eb17bd16180bc 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma implementation "calendar.cpp"
     #pragma interface "calendar.cpp"
 #endif
@@ -32,6 +32,7 @@
 // for all others, include the necessary headers
 #ifndef WX_PRECOMP
     #include "wx/app.h"
+    #include "wx/log.h"
     #include "wx/frame.h"
     #include "wx/panel.h"
     #include "wx/stattext.h"