X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22756322824e8f377b792897209d052ca9281534..fdc255cfe0f2689f567a97a254967a47a0ac4482:/src/osx/gauge_osx.cpp diff --git a/src/osx/gauge_osx.cpp b/src/osx/gauge_osx.cpp index d8cd4a35ff..9e353f1f84 100644 --- a/src/osx/gauge_osx.cpp +++ b/src/osx/gauge_osx.cpp @@ -25,9 +25,9 @@ bool wxGauge::Create( wxWindow *parent, long style, const wxValidator& validator, const wxString& name ) -{ - m_macIsUserPane = false; - +{ + DontCreatePeer(); + if ( !wxGaugeBase::Create( parent, id, range, pos, s, style & 0xE0FFFFFF, validator, name ) ) return false;