+ # launch helpviewer
+ helpviewer.main(args)
+
+else:
+ app = wx.PySimpleApp()
+ dlg = wx.MessageDialog(None,
+ "The wxDocs need to be located in a directory that is writable by you. "
+ "I am unable to start the viewer in its current location.",
+ "Error!", wx.OK|wx.ICON_EXCLAMATION)
+ dlg.ShowModal()
+ dlg.Destroy()
+ app.MainLoop()