]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/stattext.cpp
assert is raised when using the thread sample (which works) so the test is
[wxWidgets.git] / src / motif / stattext.cpp
index ead5cd99b58190dba0deba0c50443d32fa7f033f..4f9b14740c5452424caf4d99363cbd2e29dc22e0 100644 (file)
@@ -117,7 +117,6 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id,
 
     m_mainWidget = borderWidget ? borderWidget : m_labelWidget;
 
-    SetCanAddEventHandler(TRUE);
     AttachWidget (parent, m_mainWidget, (WXWidget) NULL, pos.x, pos.y, size.x, size.y);
 
     ChangeBackgroundColour ();