#include "wx/log.h"
+#if !wxUSE_GLCANVAS
+#error Please set wxUSE_GLCANVAS to 1 in setup.h.
+#endif
+
#include "cube.h"
#ifndef __WXMSW__ // for wxStopWatch, see remark below
MyFrame *frame = new MyFrame(NULL, "Cube OpenGL Demo Clone",
wxPoint(50, 50), wxSize(400, 300));
// Give it an icon
-#ifdef wx_msw
+#ifdef __WXMSW__
frame->SetIcon(wxIcon("mondrian"));
#endif