X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83259e23a41c7569ab125ce67211397b7342a1e9..616c0d1f3ac084bb92f0a75dc48812e8647f1b22:/include/wx/cocoa/objc/objc_uniquifying.h diff --git a/include/wx/cocoa/objc/objc_uniquifying.h b/include/wx/cocoa/objc/objc_uniquifying.h index 667503c223..a8a10e7a55 100644 --- a/include/wx/cocoa/objc/objc_uniquifying.h +++ b/include/wx/cocoa/objc/objc_uniquifying.h @@ -205,7 +205,7 @@ struct objc_class* wx_GetObjcClass_ ## ObjcClass(); // _s_objc_class_ptr_ObjcClass: // .long L_OBJC_CLASS_ObjcClass // Once that static symbol is defined, the function implementation is easy for GCC to generate. -// Do note that return &s_objc_class_data_ObjcClass won't work. The code is wrong in the case. +// Do note that return &s_objc_class_data_ObjcClass won't work. The code is wrong in this case. #define WX_IMPLEMENT_OBJC_GET_COMPILED_CLASS(ObjcClass) \ extern "C" objc_class s_objc_class_data_ ## ObjcClass asm("L_OBJC_CLASS_" #ObjcClass); \ static objc_class * s_objc_class_ptr_ ## ObjcClass = &s_objc_class_data_ ## ObjcClass; \ @@ -278,7 +278,7 @@ inline objc_class * wxObjcCompilerInformation::GetCompiledClass() \ } // TODO: __x86_64__, __ppc64__ -#else // Can't wrie inline asm to bust into __OBJC segment +#else // Can't write inline asm to bust into __OBJC segment // This won't be used since the generic implementation takes precedence. #warning "Don't know how to implement wxObjcCompilerInformation::GetCompiledClass on this platform"