static int GetPageId(wxTabView *tabview, wxNotebookPage *page)
{
- return static_cast<wxNotebookTabView*>(tabview)->GetId(page);
+ return wx_static_cast(wxNotebookTabView*, tabview)->GetId(page);
}
// ----------------------------------------------------------------------------
// base init
SetName(name);
+ if ( (style & wxBK_ALIGN_MASK) == wxBK_DEFAULT )
+ style |= wxBK_TOP;
+
m_windowId = id == wxID_ANY ? NewControlId() : id;
if (!wxControl::Create(parent, id, pos, size, style|wxNO_BORDER, wxDefaultValidator, name))