#pragma hdrstop
#endif
-#include "wx/xrc/xh_notbk.h"
+#if wxUSE_XRC && wxUSE_NOTEBOOK
-#if wxUSE_NOTEBOOK
+#include "wx/xrc/xh_notbk.h"
#include "wx/log.h"
#include "wx/notebook.h"
XRC_ADD_STYLE(wxNB_FIXEDWIDTH);
XRC_ADD_STYLE(wxNB_LEFT);
XRC_ADD_STYLE(wxNB_RIGHT);
+ XRC_ADD_STYLE(wxNB_TOP);
XRC_ADD_STYLE(wxNB_BOTTOM);
AddWindowStyles();
}
(m_isInside && IsOfClass(node, wxT("notebookpage"))));
}
-#endif
+#endif // wxUSE_XRC && wxUSE_NOTEBOOK