// Now let SWIG know about it
class wxPyTipProvider : public wxTipProvider {
public:
+ %pythonAppend wxPyTipProvider "self._setCallbackInfo(self, PyTipProvider)"
wxPyTipProvider(size_t currentTip);
void _setCallbackInfo(PyObject* self, PyObject* _class);
- %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxPyTipProvider)"
};
// the user to disable this (however, it's the program which should show, or
// not, the dialog on startup depending on its value, not this class).
//
-// The function returns TRUE if this checkbox is checked, FALSE otherwise.
-bool wxShowTip(wxWindow *parent, wxTipProvider *tipProvider, bool showAtStartup = TRUE);
+// The function returns True if this checkbox is checked, False otherwise.
+bool wxShowTip(wxWindow *parent, wxTipProvider *tipProvider, bool showAtStartup = True);
// a function which returns an implementation of wxTipProvider using the
// specified text file as the source of tips (each line is a tip).