]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/dockart.cpp
Commited region iterator fix.
[wxWidgets.git] / src / aui / dockart.cpp
index ac6b8826d33dd0e13dbfadd072b2e27a34e961f2..9456f5515f4426796b046b4d261bb1c106c6cf9c 100644 (file)
@@ -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