wx.NotificationMessage AttributeError: 'module' object has no attribute 'NotificationMessage'
- by HughGrigg
I get this error when trying to use wxPython's NotificationMessage class:
wx.NotificationMessage("", "Hello world!").Show()
AttributeError: 'module' object has no attribute 'NotificationMessage'
The code is quite simply:
#!/usr/bin/python
import wx
app = wx.App()
wx.NotificationMessage("", "Hello world!").Show()
app.MainLoop()
What am I missing?
This is running on Linux Mint 13, MATE 1.2 desktop environment, Python 2.7.3.