compilation of wxPython 2.4.1.2 failed on Mac OS X

[...]

To be able to run demo.py, I had to do in /usr/local/lib: sudo ln -s
libwx_macd-2.4.0.0.0.dylib libwx_mac-2.4.0.dylib

SHouldn't these be "2.4.1" ?

Should I send this patch somewhere else in addition to this list,
like the wxPython devel list?

No, I've already made the changes.

Also, should I make an additional patch
which does "#define scalb scalbn" in the headers wxWindows directly?

It doesn't seem to be a problem with wxWindows compilation. I think it is something that is caused by additional flags or headers used because of the Python conenction.

And what could be done about the library name problem?

Probably nothing. The wxMac build is doing the RightThing here for me. If there was a problem I expect that it's already been fixed.

···

martin.schaffner@epfl.ch wrote:

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Hi
I have a main frame, in it is another frame, I create a grid class and
use the table base to put the grid in the second frame.
How do I reference the grid from the button event of a button on the
first frame?
Thanks in advance
Greg

Hi, I am attempting to install wxPython on my Unix box (Solaris). I
installed GTK (and all its depenencies) succesfully and successfully ran the
GTK demo. Now I am trying to install wxPython and when I do the ../configure
for wxGTK with all the arguments mentioned in the README I get this error:

*** The gtk-config script installed by GTK could not be found

*** If GTK was installed in PREFIX, make sure PREFIX/bin is in

*** your path, or set the GTK_CONFIG environment variable to the

*** full path to gtk-config.

configure: error:

Please check that gtk-config is in path, the directory

where GTK+ libraries are installed (returned by

'gtk-config --libs' command) is in LD_LIBRARY_PATH or

equivalent variable and GTK+ is version 1.2.3 or above.

The interesting thing is I cant find gtk-config myself, but the make install
ran with no errors and the demo works. Any ideas? Thanks.

Gilad

Why doesn't tab focus work if I use wxTE_MULTILINE for a textctrl in a
dialog? If I remove wxTE_MULTILINE, focus moves from the comment box to
the email box when I hit the tab button (the behaviour I want). But if I
use wxTE_MULTILINE, tab focus goes to the ok button and ignores the email
box. Any ideas? (Windows)

self.commentBox = wxTextCtrl(self, wxNewId(), "", size = wxSize(300,100),
style = wxTE_MULTILINE, validator = TextValidator())

self.emailBox = wxTextCtrl(self, wxNewId(), "")
self.okButton = wxButton(self, wxID_OK, "Ok")

Thanks,
Susanne

Why doesn't tab focus work if I use wxTE_MULTILINE for a textctrl in a
dialog? If I remove wxTE_MULTILINE, focus moves from the comment box to
the email box when I hit the tab button (the behaviour I want). But if I
use wxTE_MULTILINE, tab focus goes to the ok button and ignores the email
box. Any ideas? (Windows)

self.commentBox = wxTextCtrl(self, wxNewId(), "", size = wxSize(300,100),
style = wxTE_MULTILINE, validator = TextValidator())

self.emailBox = wxTextCtrl(self, wxNewId(), "")
self.okButton = wxButton(self, wxID_OK, "Ok")

Thanks,
Susanne

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

It's a bug.
I've suffered from it also.
Here is a bug report.
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=798910&group_id=9863

May i suppose a workaround?
Here is how i solve the problem :
after multiline textctrl just insert empty wxBitmapButton.
Emtpy means without image, so it didn't get displayed on screen.
And didn't get focus either.
Then tab focus will be ok.

···

--
Igor.
                         mailto:igor@tyumbit.ru

Greg Binns wrote:

Hi
I have a main frame, in it is another frame, I create a grid class and
use the table base to put the grid in the second frame.
How do I reference the grid from the button event of a button on the
first frame?

Just save a reference to it somewhere that is accessible where you need it.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

I had a similar problem with a GridCellEditor. The solution was to add the
style wxTE_PROCESS_TAB. I don't know if this will work in your case, but it
is worth a try.

Frank Millman

···

----- Original Message -----
From: "Susanne Lefvert" <lefvert@mcs.anl.gov>
To: <wxPython-users@lists.wxwindows.org>
Sent: Wednesday, September 24, 2003 1:03 AM
Subject: [wxPython-users] Tab focus weirdness???

Why doesn't tab focus work if I use wxTE_MULTILINE for a textctrl in a
dialog? If I remove wxTE_MULTILINE, focus moves from the comment box to
the email box when I hit the tab button (the behaviour I want). But if I
use wxTE_MULTILINE, tab focus goes to the ok button and ignores the email
box. Any ideas? (Windows)

self.commentBox = wxTextCtrl(self, wxNewId(), "", size = wxSize(300,100),
style = wxTE_MULTILINE, validator = TextValidator())

self.emailBox = wxTextCtrl(self, wxNewId(), "")
self.okButton = wxButton(self, wxID_OK, "Ok")

Thanks,
Susanne

Gilad Suberri wrote:

Thanks for your help. Before getting the email I read up about installing
gtk1 also. After doing this I configure succesfully, but now I am running
into compiler errors when running gmake on my Solaris machine:

c++ -c -I./lib/wx/include/gtkd-2.4 -I../include -I../src/zlib -I/tools/pytho
n/gtk/include/gtk-1.2 -I/tools/python/gtk/include/glib-1.2 -I/tools/python/g
tk/lib/glib/include -D_REENTRANT -I/tools/python/gtk/include -D_FILE_OFFSET_
BITS=64 -D_LARGE_FILES -isystem
/usr/openwin/include -D__WXGTK__ -D__WXDEBUG__ -O2 -MMD -pthreads -D_REENTRA
NT -Wall -fPIC -o imagjpeg.o ../src/common/imagjpeg.cpp
In file included from ../include/wx/wfstream.h:26,
from ../src/common/imagjpeg.cpp:47:
../include/wx/file.h: In member function `bool wxFile::Write(wxString&,
wxMBConv&)':
../include/wx/file.h:105: cannot convert `const wxChar*' to `wxChar*' in
initialization
In file included from ../include/wx/wfstream.h:27,
from ../src/common/imagjpeg.cpp:47:
../include/wx/ffile.h: At global scope:
../include/wx/ffile.h:56: invalid type `const char[1]' for default argument
to
`wxString&'
../include/wx/ffile.h: In member function `bool wxFFile::Write(wxString&,
wxMBConv&)':
../include/wx/ffile.h:72: cannot convert `const wxChar*' to `wxChar*' in
initialization
In file included from ../src/common/imagjpeg.cpp:48:
../include/wx/intl.h: In member function `wxChar* wxLocale::GetLocale()':
../include/wx/intl.h:421: cannot convert `wxString' to `wxChar*' in return
gmake: *** [imagjpeg.o] Error 1

Thanks in advance for any help.

What is the version of your compiler?

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!