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.
Mac OSX + Wxwidgets application
-
- CodeLite Curious
- Posts: 2
- Joined: Sat Jan 01, 2011 10:46 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- 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
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:
Where MyApp.app is the bundle directory that you created using the "Mac Bundler" plugin
Eran
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/
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Sat Jan 01, 2011 10:46 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Mac OSX + Wxwidgets application
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?
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?
- 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
If you are using MinGW - then no, you need mingwm10.dll
Eran
Eran
Make sure you have read the HOW TO POST thread