X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22756322824e8f377b792897209d052ca9281534..7740f1c7c9d0e01c96570841afcc4ee04b2329fd:/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;