corrected cw6 project files and other small problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,25 +95,25 @@ bool wxApp::s_macSupportPCMenuShortcuts = true ;
|
|||||||
long wxApp::s_macAboutMenuItemId = wxID_ABOUT ;
|
long wxApp::s_macAboutMenuItemId = wxID_ABOUT ;
|
||||||
wxString wxApp::s_macHelpMenuTitleName = "&Help" ;
|
wxString wxApp::s_macHelpMenuTitleName = "&Help" ;
|
||||||
|
|
||||||
pascal OSErr AEHandleODoc( const AppleEvent *event , AppleEvent *reply , long refcon )
|
pascal OSErr AEHandleODoc( const AppleEvent *event , AppleEvent *reply , unsigned long refcon )
|
||||||
{
|
{
|
||||||
wxApp* app = (wxApp*) refcon ;
|
wxApp* app = (wxApp*) refcon ;
|
||||||
return wxTheApp->MacHandleAEODoc( (AppleEvent*) event , reply) ;
|
return wxTheApp->MacHandleAEODoc( (AppleEvent*) event , reply) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
pascal OSErr AEHandleOApp( const AppleEvent *event , AppleEvent *reply , long refcon )
|
pascal OSErr AEHandleOApp( const AppleEvent *event , AppleEvent *reply , unsigned long refcon )
|
||||||
{
|
{
|
||||||
wxApp* app = (wxApp*) refcon ;
|
wxApp* app = (wxApp*) refcon ;
|
||||||
return wxTheApp->MacHandleAEOApp( (AppleEvent*) event , reply ) ;
|
return wxTheApp->MacHandleAEOApp( (AppleEvent*) event , reply ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
pascal OSErr AEHandlePDoc( const AppleEvent *event , AppleEvent *reply , long refcon )
|
pascal OSErr AEHandlePDoc( const AppleEvent *event , AppleEvent *reply , unsigned long refcon )
|
||||||
{
|
{
|
||||||
wxApp* app = (wxApp*) refcon ;
|
wxApp* app = (wxApp*) refcon ;
|
||||||
return wxTheApp->MacHandleAEPDoc( (AppleEvent*) event , reply ) ;
|
return wxTheApp->MacHandleAEPDoc( (AppleEvent*) event , reply ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
pascal OSErr AEHandleQuit( const AppleEvent *event , AppleEvent *reply , long refcon )
|
pascal OSErr AEHandleQuit( const AppleEvent *event , AppleEvent *reply , unsigned long refcon )
|
||||||
{
|
{
|
||||||
wxApp* app = (wxApp*) refcon ;
|
wxApp* app = (wxApp*) refcon ;
|
||||||
return wxTheApp->MacHandleAEQuit( (AppleEvent*) event , reply) ;
|
return wxTheApp->MacHandleAEQuit( (AppleEvent*) event , reply) ;
|
||||||
|
@@ -42,6 +42,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxMask, wxObject)
|
|||||||
#include <PictUtils.h>
|
#include <PictUtils.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
CTabHandle wxMacCreateColorTable( int numColors )
|
CTabHandle wxMacCreateColorTable( int numColors )
|
||||||
{
|
{
|
||||||
CTabHandle newColors; /* Handle to the new color table */
|
CTabHandle newColors; /* Handle to the new color table */
|
||||||
|
@@ -95,25 +95,25 @@ bool wxApp::s_macSupportPCMenuShortcuts = true ;
|
|||||||
long wxApp::s_macAboutMenuItemId = wxID_ABOUT ;
|
long wxApp::s_macAboutMenuItemId = wxID_ABOUT ;
|
||||||
wxString wxApp::s_macHelpMenuTitleName = "&Help" ;
|
wxString wxApp::s_macHelpMenuTitleName = "&Help" ;
|
||||||
|
|
||||||
pascal OSErr AEHandleODoc( const AppleEvent *event , AppleEvent *reply , long refcon )
|
pascal OSErr AEHandleODoc( const AppleEvent *event , AppleEvent *reply , unsigned long refcon )
|
||||||
{
|
{
|
||||||
wxApp* app = (wxApp*) refcon ;
|
wxApp* app = (wxApp*) refcon ;
|
||||||
return wxTheApp->MacHandleAEODoc( (AppleEvent*) event , reply) ;
|
return wxTheApp->MacHandleAEODoc( (AppleEvent*) event , reply) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
pascal OSErr AEHandleOApp( const AppleEvent *event , AppleEvent *reply , long refcon )
|
pascal OSErr AEHandleOApp( const AppleEvent *event , AppleEvent *reply , unsigned long refcon )
|
||||||
{
|
{
|
||||||
wxApp* app = (wxApp*) refcon ;
|
wxApp* app = (wxApp*) refcon ;
|
||||||
return wxTheApp->MacHandleAEOApp( (AppleEvent*) event , reply ) ;
|
return wxTheApp->MacHandleAEOApp( (AppleEvent*) event , reply ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
pascal OSErr AEHandlePDoc( const AppleEvent *event , AppleEvent *reply , long refcon )
|
pascal OSErr AEHandlePDoc( const AppleEvent *event , AppleEvent *reply , unsigned long refcon )
|
||||||
{
|
{
|
||||||
wxApp* app = (wxApp*) refcon ;
|
wxApp* app = (wxApp*) refcon ;
|
||||||
return wxTheApp->MacHandleAEPDoc( (AppleEvent*) event , reply ) ;
|
return wxTheApp->MacHandleAEPDoc( (AppleEvent*) event , reply ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
pascal OSErr AEHandleQuit( const AppleEvent *event , AppleEvent *reply , long refcon )
|
pascal OSErr AEHandleQuit( const AppleEvent *event , AppleEvent *reply , unsigned long refcon )
|
||||||
{
|
{
|
||||||
wxApp* app = (wxApp*) refcon ;
|
wxApp* app = (wxApp*) refcon ;
|
||||||
return wxTheApp->MacHandleAEQuit( (AppleEvent*) event , reply) ;
|
return wxTheApp->MacHandleAEQuit( (AppleEvent*) event , reply) ;
|
||||||
|
@@ -42,6 +42,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxMask, wxObject)
|
|||||||
#include <PictUtils.h>
|
#include <PictUtils.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/mac/uma.h"
|
||||||
|
|
||||||
CTabHandle wxMacCreateColorTable( int numColors )
|
CTabHandle wxMacCreateColorTable( int numColors )
|
||||||
{
|
{
|
||||||
CTabHandle newColors; /* Handle to the new color table */
|
CTabHandle newColors; /* Handle to the new color table */
|
||||||
|
Reference in New Issue
Block a user