I've tried using several configuration options, but it doesn't help. For example:
./configure --with-osx_cocoa --with-macosx-version-min=10.6 --with-opengl --enable-unicode
I've tried with just this:
./configure --with-osx_cocoa
But it doesn't help.
Here is what I get:
../src/osx/cocoa/textctrl.mm: In function ‘void -[wxNSTextFieldEditor keyDown:](wxNSTextFieldEditor*, objc_selector*, NSEvent*)’:
../src/osx/cocoa/textctrl.mm:144: error: no matching function for call to ‘wxWidgetImpl::FindFromWXWidget(objc_object*)’
../include/wx/osx/core/private.h:261: note: candidates are: static wxWidgetImpl* wxWidgetImpl::FindFromWXWidget(NSView*)
../src/osx/cocoa/textctrl.mm: In function ‘void -[wxNSTextFieldEditor keyUp:](wxNSTextFieldEditor*, objc_selector*, NSEvent*)’:
../src/osx/cocoa/textctrl.mm:153: error: no matching function for call to ‘wxWidgetImpl::FindFromWXWidget(objc_object*)’
../include/wx/osx/core/private.h:261: note: candidates are: static wxWidgetImpl* wxWidgetImpl::FindFromWXWidget(NSView*)
../src/osx/cocoa/textctrl.mm: In function ‘void -[wxNSTextFieldEditor flagsChanged:](wxNSTextFieldEditor*, objc_selector*, NSEvent*)’:
../src/osx/cocoa/textctrl.mm:160: error: no matching function for call to ‘wxWidgetImpl::FindFromWXWidget(objc_object*)’
../include/wx/osx/core/private.h:261: note: candidates are: static wxWidgetImpl* wxWidgetImpl::FindFromWXWidget(NSView*)
../src/osx/cocoa/textctrl.mm: In function ‘void -[wxNSTextFieldEditor insertText:](wxNSTextFieldEditor*, objc_selector*, objc_object*)’:
../src/osx/cocoa/textctrl.mm:173: error: no matching function for call to ‘wxWidgetImpl::FindFromWXWidget(objc_object*)’
../include/wx/osx/core/private.h:261: note: candidates are: static wxWidgetImpl* wxWidgetImpl::FindFromWXWidget(NSView*)
../src/osx/cocoa/textctrl.mm: In constructor ‘wxNSTextViewControl::wxNSTextViewControl(wxTextCtrl*, NSView*)’:
../src/osx/cocoa/textctrl.mm:321: warning: class 'NSView' does not implement the 'NSTextViewDelegate' protocol
../src/osx/cocoa/textctrl.mm: In constructor ‘wxNSTextFieldControl::wxNSTextFieldControl(wxTextCtrl*, NSView*)’:
../src/osx/cocoa/textctrl.mm:436: warning: class 'NSView' does not implement the 'NSTextFieldDelegate' protocol
make: *** [coredll_osx_cocoa_textctrl.o] Error 1
Any ideas?
Thanks,
Compiling wxWidgets 2.9.0 under Snow Leopard 10.6.1 Topic is solved
-
- In need of some credit
- Posts: 2
- Joined: Wed Sep 23, 2009 3:51 pm
- Location: Croatia
-
- Earned a small fee
- Posts: 23
- Joined: Sun Apr 05, 2009 2:39 am
-
- Site Admin
- Posts: 1355
- Joined: Sun Aug 29, 2004 7:14 pm
- Location: Salt Lake City, Utah, USA
This is a problem with wxOSX/Cocoa, not wxMac. There is no "wxMac" port in wxWidgets 2.9+ anymore, just wxOSX/Cocoa, and wxOSX/Carbon.elliswr wrote:Note: I did not use wxosx_cocoa. I used wxMac.
igalic's problem was in fact an error in wxWidgets code when 2.9.0 was released. It has been fixed in SVN already though. You will need to check out wxWidgets 2.9 from SVN trunk for wxOSX/Cocoa.
-
- In need of some credit
- Posts: 2
- Joined: Wed Sep 23, 2009 3:51 pm
- Location: Croatia