X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfad0599246651d4994e348d868a3e65613c7379..fd323a5e230f2b08227b307ff900698fb85d5519:/src/stubs/dc.cpp diff --git a/src/stubs/dc.cpp b/src/stubs/dc.cpp index 484a44f6fd..642dc1edc5 100644 --- a/src/stubs/dc.cpp +++ b/src/stubs/dc.cpp @@ -376,10 +376,10 @@ void wxDC::ComputeScaleAndOrigin(void) { // this is a bit artificial, but we need to force wxDC to think // the pen has changed - wxPen* pen = GetPen(); + wxPen* pen = & GetPen(); wxPen tempPen; m_pen = tempPen; - SetPen(pen); + SetPen(* pen); } };