]> git.saurik.com Git - wxWidgets.git/commitdiff
added missing return type (implicit int no longer accepted by compilers)
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 30 Jan 2001 21:02:45 +0000 (21:02 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 30 Jan 2001 21:02:45 +0000 (21:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/menuitem.h

index 7e9fab32fb7b33a217a7060559d23f3db5d4d1a7..0a85aa372533547a3650f393b32b1ec29618eaea 100644 (file)
@@ -69,7 +69,7 @@ public:
     // menu handle depending on what we're
     int GetRealId() const;
 
-       static MacBuildMenuString(StringPtr outMacItemText, SInt16 *outMacShortcutChar , UInt8 *outMacModifiers , const char *inItemName , bool useShortcuts ) ;
+       static int MacBuildMenuString(StringPtr outMacItemText, SInt16 *outMacShortcutChar , UInt8 *outMacModifiers , const char *inItemName , bool useShortcuts ) ;
 
 private:
     DECLARE_DYNAMIC_CLASS(wxMenuItem)