git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11142
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include <time.h>
#include <stdlib.h>
#include <time.h>
#include <stdlib.h>
-#if defined(__WXGTK__) || defined(__WXMOTIF__)
+#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__)
#include "bombs.xpm"
#endif
#include "bombs.xpm"
#endif
-#if defined(__WXGTK__) || defined(__WXMOTIF__)
+#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__)
#include "corner1.xpm"
#include "corner2.xpm"
#include "corner3.xpm"
#include "corner1.xpm"
#include "corner2.xpm"
#include "corner3.xpm"
while (ch != 0 && !page_break)
{
j = 0;
while (ch != 0 && !page_break)
{
j = 0;
+#if defined(__WXMSW__) || defined(__WXMAC__)
while (((ch = poem_buffer[i]) != 13) && (ch != 0))
#else
while (((ch = poem_buffer[i]) != 10) && (ch != 0))
while (((ch = poem_buffer[i]) != 13) && (ch != 0))
#else
while (((ch = poem_buffer[i]) != 10) && (ch != 0))
+#if defined(__WXMSW__) || defined(__WXMAC__)
if (ch == 13)
#else
if (ch == 10)
if (ch == 13)
#else
if (ch == 10)
Corner3 = new wxIcon("icon_3");
Corner4 = new wxIcon("icon_4");
#endif
Corner3 = new wxIcon("icon_3");
Corner4 = new wxIcon("icon_4");
#endif
-#if defined(__WXGTK__) || defined(__WXMOTIF__)
+#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__)
Corner1 = new wxIcon( corner1_xpm );
Corner2 = new wxIcon( corner2_xpm );
Corner3 = new wxIcon( corner3_xpm );
Corner1 = new wxIcon( corner1_xpm );
Corner2 = new wxIcon( corner2_xpm );
Corner3 = new wxIcon( corner3_xpm );