#ifndef _WX_NOTEBOOK_H_
#define _WX_NOTEBOOK_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "notebook.h"
#endif
// Called when a tab is activated
virtual void OnTabActivate(int activateId, int deactivateId);
+ // Allows vetoing
+ virtual bool OnTabPreActivate(int activateId, int deactivateId);
protected:
wxNotebook* m_notebook;