X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/650ff63d999552a4758328444b22504077db998f..7948c0c24401c496c04da3c28f1f1f2f282ba327:/src/os2/dc.cpp diff --git a/src/os2/dc.cpp b/src/os2/dc.cpp index 301788aa23..4a5cef4e16 100644 --- a/src/os2/dc.cpp +++ b/src/os2/dc.cpp @@ -24,6 +24,9 @@ #include "wx/icon.h" #include "wx/msgdlg.h" #include "wx/module.h" +#if wxUSE_STATUSBAR + #include "wx/statusbr.h" +#endif #endif #include "wx/dcprint.h" @@ -1038,7 +1041,7 @@ void wxDC::DoDrawRectangle( if(m_brush.GetStyle() == wxTRANSPARENT) lControl = DRO_OUTLINE; - ::GpiSetColor(m_hPS, lColor); + ::GpiSetColor(m_hPS, lBorderColor); ::GpiBox( m_hPS // handle to a presentation space ,lControl // draw the box outline ? or ? ,&vPoint[1] // address of the corner