wxaui notebook tabs can scroll; notebook themability improved

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams
2006-10-30 16:34:05 +00:00
parent 0f11c23345
commit 4953f8cf3b
6 changed files with 384 additions and 81 deletions

View File

@@ -821,7 +821,7 @@ bool wxFrameManager::AddPane(wxWindow* window, const wxPaneInfo& pane_info)
pinfo.buttons.size() == 0)
{
wxPaneButton button;
button.button_id = wxPaneInfo::buttonClose;
button.button_id = wxAUI_BUTTON_CLOSE;
pinfo.buttons.Add(button);
}
@@ -3931,7 +3931,7 @@ void wxFrameManager::OnPaneButton(wxFrameManagerEvent& evt)
wxPaneInfo& pane = *(evt.pane);
if (evt.button == wxPaneInfo::buttonClose)
if (evt.button == wxAUI_BUTTON_CLOSE)
{
// fire pane close event
wxFrameManagerEvent e(wxEVT_AUI_PANECLOSE);