X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56454c1513ec10aa70cef0a492d1ed6fab016451..9089cffbf5bfe23d5e549a569f3bb70f9b5b6cb4:/include/wx/menu.h diff --git a/include/wx/menu.h b/include/wx/menu.h index 963a8fac0b..1280ea647e 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -267,7 +267,7 @@ public: // Updates the UI for a menu and all submenus recursively. source is the // object that has the update event handlers defined for it. If NULL, the // menu or associated window will be used. - void UpdateUI(wxEvtHandler* source = (wxEvtHandler*)NULL); + void UpdateUI(wxEvtHandler* source = NULL); // get the menu bar this menu is attached to (may be NULL, always NULL for // popup menus). Traverse up the menu hierarchy to find it.