Fix 32 bit compilation
The class wxTextFieldCell was still declared, but not defined for 32 bit builds, move the define to NSTextFieldCell into the header.
This commit is contained in:
parent
48d1c4ff1a
commit
a352f80537
@ -372,10 +372,13 @@ private:
|
|||||||
// NSTextFieldCell customized to allow vertical alignment
|
// NSTextFieldCell customized to allow vertical alignment
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
|
#ifndef __LP64__
|
||||||
|
#define wxTextFieldCell NSTextFieldCell
|
||||||
|
#else
|
||||||
@interface wxTextFieldCell : NSTextFieldCell
|
@interface wxTextFieldCell : NSTextFieldCell
|
||||||
-(void) setWXAlignment:(int)alignment;
|
-(void) setWXAlignment:(int)alignment;
|
||||||
@end
|
@end
|
||||||
|
#endif
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// wxImageTextCell
|
// wxImageTextCell
|
||||||
|
@ -1258,7 +1258,6 @@ outlineView:(NSOutlineView*)outlineView
|
|||||||
// error: instance variables may not be placed in class extension
|
// error: instance variables may not be placed in class extension
|
||||||
//
|
//
|
||||||
// Until this can be fixed, disable it to at least fix compilation.
|
// Until this can be fixed, disable it to at least fix compilation.
|
||||||
#define wxTextFieldCell NSTextFieldCell
|
|
||||||
#else
|
#else
|
||||||
@interface wxTextFieldCell ()
|
@interface wxTextFieldCell ()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user