Search found 610 matches

by eranif
Tue Oct 22, 2013 12:28 am
Forum: Announcements and Discoveries
Topic: codeite 5.3 is available for download
Replies: 0
Views: 2129

codeite 5.3 is available for download

Hi, I am happy to announce that codelite 5.3 is ready for download Release highlight: Release highlights: ================== NEW: A SFTP plugin was added to codelite. With the SFTP plugin one can now: - Define new SSH accounts - Browse on a remote machine - Open remote files, edit and save the files...
by eranif
Sun Sep 29, 2013 7:30 pm
Forum: C++ Development
Topic: Create wxFrame on thread Demand
Replies: 3
Views: 2063

Re: Create wxFrame on thread Demand

You should send an event from the worker thread to the main thread. If you are using wxWidgets 2.9.5 / trunk, then a better and simple approach is calling CallAfter on the main window from the thread Something like: // Thread code void* MyThread::Run() { while ( !TestDestroy() ) { ... m_mainFrame->...
by eranif
Fri Aug 16, 2013 2:36 am
Forum: C++ Development
Topic: wxTextCtrl, multiple threads, and cout redirection?
Replies: 4
Views: 4194

Re: wxTextCtrl, multiple threads, and cout redirection?

How about redirecting your std:cout to a file, and have a background thread checking this file for changes, once a change is detected - post an event to the main thread with the text to append to the textctrl.

It's basically like implementing a tail ...

Eran
by eranif
Tue Jun 11, 2013 12:41 pm
Forum: Platform Related Issues
Topic: Moving a project to Windows 7
Replies: 4
Views: 4909

Re: Moving a project to Windows 7

The problem is that Windows already has Yield defined somewhere... but it is also a function in wxApp.

To avoid this error, change the include order:
Make sure that <wx/app.h> is included before any Windows' include files

Eran
by eranif
Tue May 07, 2013 8:49 am
Forum: Announcements and Discoveries
Topic: [ANN] wxCrafter (wxWidgets RAD Tool) standalone v1.2
Replies: 0
Views: 3494

[ANN] wxCrafter (wxWidgets RAD Tool) standalone v1.2

Hi, After receiving number of requests, I created a standalone version of wxCrafter which works similar to wxFormBuilder - i.e. generate the UI code into files where you can later add to your favorite IDE At the moment, only Windows version is available, Linux and Mac should follow About wxCrafter D...
by eranif
Mon Apr 22, 2013 4:34 pm
Forum: C++ Development
Topic: How to use Clipboard in a correct way?
Replies: 3
Views: 3885

Re: How to use Clipboard in a correct way?

One more thing about wxClipboard:

You should consider calling wxTheClipboard->Flush() when your application exits, or else the copied data in the clipboard will get lost when your application exits.

http://docs.wxwidgets.org/2.9.4/classwx ... 33f291f932

Eran
by eranif
Sun Apr 21, 2013 4:24 pm
Forum: C++ Development
Topic: Most recent wxInclude release ?
Replies: 2
Views: 2265

Re: Most recent wxInclude release ?

Have you considered using wxrc for this purpose? 1. Create a XRC file with the following content (call it resources.xrc) <resource> <object class="wxBitmap" name="test">C:\src\images\test.png</object> </resource> 2. Convert the XRC file into C++ file, by typing from the command l...
by eranif
Fri Apr 19, 2013 10:27 am
Forum: Compiler / Linking / IDE Related
Topic: wxmsw294u_gcc_custom.dll
Replies: 5
Views: 7895

Re: wxmsw294u_gcc_custom.dll

Have you tried using another toolchain? i.e. replace your MinGW installation? What really puzzels me is that you are using mingw32-make (and the installation name is C:\MinGW32) however, your ld.exe is from the W64 toolchain, which usually implies MinGW64 Is it possible that you are mixing toolchain...
by eranif
Thu Apr 18, 2013 7:24 pm
Forum: Compiler / Linking / IDE Related
Topic: wxmsw294u_gcc_custom.dll
Replies: 5
Views: 7895

Re: wxmsw294u_gcc_custom.dll

the best one is recompile using static, but is there the only way? is that mean I can't use dynamic in the future? I am building wx294 in DLL. however, I am not using the 'MONOLITHIC' option since it does not work well with MinGW. Instead use the 'Multi lib' option, true it will create more DLLs in...
by eranif
Thu Apr 18, 2013 6:20 am
Forum: C++ Development
Topic: wxStyledTextCtrl Indicators
Replies: 2
Views: 1860

Re: wxStyledTextCtrl Indicators

Hi! You need to set the indicator number and use it, wxSTC_INDIC_ROUNDBOX is a style For example, in codelite I have this code: // somewhere at the top of the file #define MATCH_INDICATOR 10 //... IndicatorSetUnder(MATCH_INDICATOR, true); IndicatorSetStyle(MATCH_INDICATOR, wxSTC_INDIC_ROUNDBOX); // ...
by eranif
Thu Apr 11, 2013 4:43 pm
Forum: C++ Development
Topic: wxAUI movable tabs vs. Perspective
Replies: 1
Views: 1478

Re: wxAUI movable tabs vs. Perspective

jgarden wrote:Is this known behaviour, or am I just doing it wrong?
Known bug...

Eran
by eranif
Thu Apr 11, 2013 2:08 pm
Forum: Platform Related Issues
Topic: CMakes find_package() on OSX
Replies: 2
Views: 4346

Re: CMakes find_package() on OSX

Hi, I use CMake to build codelite IDE on Linux / Mac. To process is very simple: In the CMakeLists.txt file I only use these lines: find_package(wxWidgets COMPONENTS ${WX_COMPONENTS} REQUIRED) Where WX_COMPONENTS is an internal variable I use to specify which components to use Followed by: # wxWidge...
by eranif
Sun Mar 31, 2013 7:36 pm
Forum: Platform Related Issues
Topic: Application sometimes not starting on Linux
Replies: 16
Views: 10978

Re: Application sometimes not starting on Linux

Approximately 30% of the time wxWidgets applications do not start. What do you mean by "do not start" ? Do they crash? or simply hangs? Try running your application under gdb from within codelite, place a breakpoint at the last line of the wxFrame constructor - when your application hangs...
by eranif
Thu Mar 21, 2013 5:34 pm
Forum: Announcements and Discoveries
Topic: [Announcment] codelite 5.1 is available
Replies: 0
Views: 3477

[Announcment] codelite 5.1 is available

Hi All,

I am happy to announce that codelite IDE 5.1 is available for download
The announcement on codelite's forum

Eran
by eranif
Sat Mar 02, 2013 7:34 pm
Forum: Announcements and Discoveries
Topic: codelite 5.0 is available
Replies: 6
Views: 7086

Re: codelite 5.0 is available

I see I have to get paypal account first. No. you can use any CC as well And oh! What about cross platform developers? One OS only? I think I have missed the question here.. In the purchase page? - the license will work on all OSs The OS selection is just for statistics nothing more ;) (beside, its...