From: Michael D. C. <cra...@go...> - 2003-11-30 21:40:42
|
Should ZMenuInstall::GetAppleMenu return a non-null value (or rather a ZRef with a non-null pointer in it) on Windows? I do this: ZRef< ZMenu > appleMenu( inMenuInstall.GetAppleMenu() ); if ( appleMenu ) { appleMenu->RemoveAll(); appleMenu->Append( mcAbout, "About ", + GetAppName() + "..." ); } The code inside the if is executed on Win32. This isn't really a problem, but I was also testing the value to see if I should put my "About" item in the Help menu, which is how Windows applications usually do it. It's not really a problem because I can use #if to see what platform I'm on. Mike -- Michael D. Crawford GoingWare Inc. - Expert Software Development and Consulting http://www.goingware.com/ cra...@go... Tilting at Windmills for a Better Tomorrow. |