Reverted last wxBookCtrl change and added alignment check to notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -150,6 +150,9 @@ bool wxNotebook::Create(wxWindow *parent,
|
||||
// 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))
|
||||
|
Reference in New Issue
Block a user