projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compilation fix (part of patch 810484)
[wxWidgets.git]
/
src
/
motif
/
gauge.cpp
diff --git
a/src/motif/gauge.cpp
b/src/motif/gauge.cpp
index 6a7f0fb2bac0f6a1647d1aa1f806843cdff628d6..4ab115b8a6dc4e1d988f8d7f63c0b39c594c6d05 100644
(file)
--- a/
src/motif/gauge.cpp
+++ b/
src/motif/gauge.cpp
@@
-9,7
+9,7
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if
def __GNUG__
+#if
defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "gauge.h"
#endif
#pragma implementation "gauge.h"
#endif
@@
-136,7
+136,6
@@
bool wxGauge::Create(wxWindow *parent, wxWindowID id,
ChangeFont(FALSE);
ChangeFont(FALSE);
- SetCanAddEventHandler(TRUE);
AttachWidget (parent, m_mainWidget, (WXWidget) NULL, x, y,
best.x, best.y);
AttachWidget (parent, m_mainWidget, (WXWidget) NULL, x, y,
best.x, best.y);