X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93e73c740e6cdd6d498439aeb731fe5f3e75ea8d..b9b8a2b5d79c50af78720589dc96cd7e16cde26e:/src/motif/gauge.cpp diff --git a/src/motif/gauge.cpp b/src/motif/gauge.cpp index 6a7f0fb2ba..4ab115b8a6 100644 --- a/src/motif/gauge.cpp +++ b/src/motif/gauge.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "gauge.h" #endif @@ -136,7 +136,6 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id, ChangeFont(FALSE); - SetCanAddEventHandler(TRUE); AttachWidget (parent, m_mainWidget, (WXWidget) NULL, x, y, best.x, best.y);