X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ed460c2e7802793d591c84f3cfdbff159c5549..7d532b0ceb43aaa235ba4e814599214bb905ccc9:/src/msw/gaugemsw.cpp diff --git a/src/msw/gaugemsw.cpp b/src/msw/gaugemsw.cpp index 1f82c799c4..c2137dd8c4 100644 --- a/src/msw/gaugemsw.cpp +++ b/src/msw/gaugemsw.cpp @@ -22,6 +22,7 @@ #ifndef WX_PRECOMP #include "wx/defs.h" +#include "wx/utils.h" #endif #if wxUSE_GAUGE @@ -141,7 +142,7 @@ bool wxGaugeMSW::Create(wxWindow *parent, wxWindowID id, return TRUE; } -void wxGaugeMSW::SetSize(int x, int y, int width, int height, int sizeFlags) +void wxGaugeMSW::DoSetSize(int x, int y, int width, int height, int sizeFlags) { int currentX, currentY; GetPosition(¤tX, ¤tY); @@ -654,7 +655,7 @@ void FAR PASCAL Draw3DLine(HDC hdc, WORD x, WORD y, WORD nLen, /* get the includes we need */ -#ifndef __GNUWIN32__ +#if !defined(__GNUWIN32__) && !defined(__SALFORDC__) #include #endif #include