X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d618ed9b67158d15a925891998ca7e7eff3786b7..6d7b547184bfdcdf67790755deb0122050b1d728:/src/aui/dockart.cpp diff --git a/src/aui/dockart.cpp b/src/aui/dockart.cpp index eb37327b70..563154c89e 100644 --- a/src/aui/dockart.cpp +++ b/src/aui/dockart.cpp @@ -25,13 +25,13 @@ #if wxUSE_AUI -#include "wx/image.h" #include "wx/aui/framemanager.h" #include "wx/aui/dockart.h" #ifndef WX_PRECOMP #include "wx/settings.h" #include "wx/dcclient.h" + #include "wx/image.h" #endif #ifdef __WXMAC__ @@ -363,7 +363,7 @@ void wxDefaultDockArt::DrawBorder(wxDC& dc, const wxRect& _rect, rect.Deflate(1); } } - else + else { for (i = 0; i < border_width; ++i) { @@ -385,7 +385,7 @@ void wxDefaultDockArt::DrawCaptionBackground(wxDC& dc, const wxRect& rect, bool dc.DrawRectangle(rect.x, rect.y, rect.width, rect.height); } - else + else { if (active) { @@ -434,7 +434,7 @@ void wxDefaultDockArt::DrawCaption(wxDC& dc, if (pane.state & wxPaneInfo::optionActive) dc.SetTextForeground(m_active_caption_text_colour); - else + else dc.SetTextForeground(m_inactive_caption_text_colour);