~ubuntu-branches/ubuntu/maverick/wxwidgets2.8/maverick-proposed

« back to all changes in this revision

Viewing changes to src/cocoa/NSControl.mm

  • Committer: Bazaar Package Importer
  • Author(s): Devid Filoni
  • Date: 2007-11-06 18:25:13 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071106182513-809agqds6igh7mqo
Tags: 2.8.6.1-0ubuntu1
* New upstream version, based on the upstream tarball
  wxPython-src-2.8.6.1.tar.bz2, renamed debian to debian-upstream.
* Provide a get-orig-source target to do the repackaging.
* Fix "substvar-source-version-is-deprecated" lintian warnings.
* Remove duplicate Description field in debian/control.
* Add "\" at the end of line 8 in debian/python-wxtools.menu to fix
  "bad-test-in-menu-item" lintian error.
* Provide .xpm icons to fix "menu-icon-not-in-xpm-format" lintian errors,
  changed Icon field in debian/python-wxtools.menu.
* Fix "wrong-name-for-upstream-changelog" lintian warnings.
* Remove "Application;" from Categories field in debian/pycrust.desktop,
  debian/pyshell.desktop, debian/xrced.desktop.
* Switch "Apps" to "Applications" in debian/python-wxtools.menu to fix
  "menu-item-uses-apps-section" lintian warnings.
* Drop the icon extension from debian/pycrust.desktop,
  debian/pyshell.desktop, debian/xrced.desktop.
* Add dpatch support.
* Add "WX_CONFIG" patch.
* debian/rules:
  - added .xpm icons to install-gtk-py-tools target
  - added "docs/changes.txt" to dh_installchangelogs in binary-common target
  - added "\" at the end of "install-examples install-msw-dev
    install-msw-dbg install-headers-msw" line in .PHONY

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    #include "wx/log.h"
23
23
#endif // WX_PRECOMP
24
24
 
 
25
#include "wx/cocoa/objc/objc_uniquifying.h"
25
26
#include "wx/cocoa/NSControl.h"
26
27
 
27
28
#import <Foundation/NSObject.h>
35
36
 
36
37
- (void)wxNSControlAction: (id)sender;
37
38
@end //interface wxNSControlTarget
 
39
WX_DECLARE_GET_OBJC_CLASS(wxNSControlTarget,NSObject)
38
40
 
39
41
@implementation wxNSControlTarget : NSObject
40
42
 
47
49
}
48
50
 
49
51
@end //implementation wxNSControlTarget
 
52
WX_IMPLEMENT_GET_OBJC_CLASS(wxNSControlTarget,NSObject)
50
53
 
51
54
// ============================================================================
52
55
// wxNSControl
53
56
// ============================================================================
54
57
WX_IMPLEMENT_OBJC_INTERFACE(NSControl)
55
58
 
56
 
struct objc_object *wxCocoaNSControl::sm_cocoaTarget = [[wxNSControlTarget alloc] init];
 
59
struct objc_object *wxCocoaNSControl::sm_cocoaTarget = [[WX_GET_OBJC_CLASS(wxNSControlTarget) alloc] init];
57
60