]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dc.cpp
Put the page in the event for all event types
[wxWidgets.git] / src / os2 / dc.cpp
index 301788aa2321c6ba909a150371db3d14568df00f..28ac299e82489a19e9a26e4b127b942a892a262b 100644 (file)
@@ -1038,7 +1038,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