#ifndef __NOTEBOOKH_BASE__
#define __NOTEBOOKH_BASE__
-#if defined(__WINDOWS__)
+#if defined(__WXMSW__)
#include "wx/msw/notebook.h"
-#elif defined(__MOTIF__)
+#elif defined(__WXMOTIF__)
#error "wxNotebook not implemented under Motif"
-#elif defined(__GTK__)
+#elif defined(__WXGTK__)
#include "wx/gtk/notebook.h"
#endif