X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be01a40397e2cadfa1f2bc047e5f52c7123825f5..ac7d3dd1578d298a301638b7ef862f1e308321d0:/src/aui/dockart.cpp diff --git a/src/aui/dockart.cpp b/src/aui/dockart.cpp index ac6b8826d3..9456f5515f 100644 --- a/src/aui/dockart.cpp +++ b/src/aui/dockart.cpp @@ -36,6 +36,7 @@ #ifdef __WXMAC__ #include "wx/mac/private.h" +#include "wx/graphics.h" #endif #ifdef __WXGTK__ @@ -588,13 +589,13 @@ void wxDefaultDockArt::DrawPaneButton(wxDC& dc, wxWindow *WXUNUSED(window), switch (button) { default: - case wxPaneInfo::buttonClose: + case wxAUI_BUTTON_CLOSE: if (pane.state & wxPaneInfo::optionActive) bmp = m_active_close_bitmap; else bmp = m_inactive_close_bitmap; break; - case wxPaneInfo::buttonPin: + case wxAUI_BUTTON_PIN: if (pane.state & wxPaneInfo::optionActive) bmp = m_active_pin_bitmap; else