[wx-dev] #define for iPhone SDK
Stefan Csomor
csomor at advancedconcepts.ch
Sat Mar 8 12:38:36 PST 2008
Hi Dave
>> The mechanism for iPhone is the same, you just get the current
>> CGContextRef
>> using UIGraphicsGetCurrentContext()
>>
> Right, so basically you let Cocoa do its thing or UIKit do its thing
> and then once it has set up your context you just use it.
exactly, since you have already focused, I can just get the
(CGContextRef)[[NSGraphicsContext currentContext] graphicsPort]
Best,
Stefan
More information about the wx-dev
mailing list