#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/log.h"
+ #include "wx/app.h"
+ #include "wx/image.h"
#endif
-#include "wx/app.h"
#include "wx/string.h"
#include "wx/imaglist.h"
-#include "wx/image.h"
#include "wx/mac/uma.h"
{
m_macIsUserPane = false ;
+ if (! (style & wxBK_ALIGN_MASK))
+ style |= wxBK_TOP;
+
if ( !wxNotebookBase::Create( parent, id, pos, size, style, name ) )
return false;
// we cannot differentiate better
if (resultV >= 0)
- *flags |= wxNB_HITTEST_ONLABEL;
+ *flags |= wxBK_HITTEST_ONLABEL;
else
- *flags |= wxNB_HITTEST_NOWHERE;
+ *flags |= wxBK_HITTEST_NOWHERE;
}
return resultV;