Mac OSX + Wxwidgets application

General questions regarding the usage of CodeLite
Cook
CodeLite Curious
Posts: 2
Joined: Sat Jan 01, 2011 10:46 pm
Genuine User: Yes
IDE Question: c++
Contact:

Mac OSX + Wxwidgets application

Post by Cook »

Hi,

I'm using CodeLite with WxWidgets 2.9 application. By default, CodeLite build the WxWidget application as shell executable and currently i can't move the WxWidgets windows when executing the result executable, but i can access to minimize and close top-left buttons. i.e. Codelite build the WxWidgets application fine, the problem is i can't move the wx-window.

Does anyone know why? I would need the g++ flags for OSX application build

Thank you in advance.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Mac OSX + Wxwidgets application

Post by eranif »

This is why:

http://www.wxwidgets.org/docs/faqmac.htm#nofocus

To fix this,
codelite provides a plugin named "Mac Bundler" by Auria (I am not sure if it is enabled by default) - you should create your wxWidgets as a bundle and replace the standard shell command (in the project settings ->general ) with the Mac command:

Code: Select all

open MyApp.app/
Where MyApp.app is the bundle directory that you created using the "Mac Bundler" plugin

Eran
Make sure you have read the HOW TO POST thread
Cook
CodeLite Curious
Posts: 2
Joined: Sat Jan 01, 2011 10:46 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Mac OSX + Wxwidgets application

Post by Cook »

Thank you Eran.

On Windows, when compiling with MingWG and executing the exe application outside CodeLite IDE ask me for "mingwm10.dll". Is there any way to run the application without external dll's?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Mac OSX + Wxwidgets application

Post by eranif »

If you are using MinGW - then no, you need mingwm10.dll

Eran
Make sure you have read the HOW TO POST thread
Post Reply