#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/dc.h"
+ #include "wx/settings.h"
+ #include "wx/gdicmn.h"
+ #include "wx/module.h"
#endif //WX_PRECOMP
-#include "wx/gdicmn.h"
-
-#include "wx/settings.h"
#include "wx/splitter.h"
#include "wx/dcmirror.h"
-#include "wx/module.h"
// ----------------------------------------------------------------------------
// wxRendererGeneric: our wxRendererNative implementation
int flags)
{
// store settings
- wxDCPenChanger penChanger(dc);
- wxDCBrushChanger brushChanger(dc);
-
- // white background
- penChanger.Set(*wxGREY_PEN);
- brushChanger.Set(*wxWHITE_BRUSH);
+ wxDCPenChanger penChanger(dc, *wxGREY_PEN);
+ wxDCBrushChanger brushChanger(dc, *wxWHITE_BRUSH);
dc.DrawRectangle(rect);