diff --git a/src/mac/carbon/bmpbuttn.cpp b/src/mac/carbon/bmpbuttn.cpp index 2c149dd7d9..23d38ac0e8 100644 --- a/src/mac/carbon/bmpbuttn.cpp +++ b/src/mac/carbon/bmpbuttn.cpp @@ -16,8 +16,7 @@ #include "wx/bmpbuttn.h" #ifndef WX_PRECOMP - #include "wx/window.h" - #include "wx/bitmap.h" + #include "wx/dcmemory.h" #endif IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)