Terminal focus problem with wxMAC
Enzo Matrix
thebell at gmail.com
Mon Oct 2 04:47:20 PDT 2006
Hi there,
I'm building an app which I programmed and used in Linux without any problems.
When I build it in Mac OS, I don't get any error or warning compiling
and linking but when I execute the program, the OS opens it with an
associated Terminal window with the focus, and no matter what I do I
can't get my program window to have the focus, so I can't use it.
Maybe anyone has had the same problem before.
Here's the compiler and linker flags I'm using:
~/local/bin/wx-config --cppflags
-I/Users/enzo/local//lib/wx/include/mac-ansi-release-2.6
-I/Users/enzo/local//include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -DNO_GCC_PRAGMA
and
~/local/bin/wx-config --libs
-L/Users/enzo/local//lib -framework QuickTime -framework IOKit
-framework Carbon -framework Cocoa -framework System -lwx_mac_xrc-2.6
-lwx_mac_qa-2.6 -lwx_mac_html-2.6 -lwx_mac_adv-2.6 -lwx_mac_core-2.6
-lwx_base_carbon_xml-2.6 -lwx_base_carbon_net-2.6 -lwx_base_carbon-2.6
I tried configuring and building wxMAC 2.6.3 with the --disable-shared
flag and I got the same result.
--
Live long and prosper
More information about the wx-users
mailing list