Search found 149 matches
- Thu Jul 19, 2012 12:51 pm
- Forum: General Development
- Topic: Suspend Logging until file output is complete
- Replies: 2
- Views: 3093
Re: Suspend Logging until file output is complete
Well you are absolutely right. Turns out that the wxLogGUI controlls (wxLogMessage in the message box, etc.) wait on the flush. But if you have a wxLogTextCtrl or other device, there is no internal buffer that messages goto before they are posted. In fact, in my case (using a wxLogTextCtrl) the buff...
- Wed Jul 18, 2012 6:53 pm
- Forum: Open Discussion
- Topic: The end of desktop applications?
- Replies: 16
- Views: 11499
Re: The end of desktop applications?
It's funny how sometimes you go back and read your own posts.... I just read mine for back then and I actually sound like my grandfather! He STILL says "Why in the hell would I need a fax machine!? I got stamps!" I guess the apple doesn't fall far from the tree... P.S. - I still don't use ...
- Wed Jul 18, 2012 6:39 pm
- Forum: General Development
- Topic: Suspend Logging until file output is complete
- Replies: 2
- Views: 3093
Suspend Logging until file output is complete
I can't believe I couldn't find anything in the forums about this.... it seems to me that you might want to do this fairly often, but I digress... My application uses a wxLogChain coupled with both a wxLogStderr and a wxLogTextCtrl so that I can control what is shown to the users but still have a fu...
- Mon Sep 28, 2009 1:10 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
- Replies: 36
- Views: 13151
- Fri Sep 25, 2009 1:02 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
- Replies: 36
- Views: 13151
OK, here's the good news: if you have the object files then you have compiled most of the wxWidgets code. Here's the bad news: the CMD line can't do the final linking/compiling because it has to list ALL of those object files in one command! (hence why we use mingw32-make in the first place!) So now...
- Wed Sep 23, 2009 4:40 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
- Replies: 36
- Views: 13151
OK... so here's the fun part. The contents of that file are the actual command that will be used when making the library. So start running them.... yeah, this will take a while. Maybe change the filename of that output.txt to output.bat so that when it fails you'll see the last instruction. We need ...
- Wed Sep 23, 2009 2:16 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
- Replies: 36
- Views: 13151
- Tue Sep 22, 2009 4:44 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
- Replies: 36
- Views: 13151
- Mon Sep 21, 2009 4:43 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
- Replies: 36
- Views: 13151
- Mon Sep 21, 2009 2:35 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
- Replies: 36
- Views: 13151
Two things... one I'll use Google Translate to translate it so you don't have to worry about it. Secondly, if you haven't built it yet then there isn't anything to clean. I gave you the clean command first to make sure we were starting fresh. (You only need to use the word 'clean' after a successful...
- Fri Sep 18, 2009 1:24 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
- Replies: 36
- Views: 13151
OK, that helps. First off we need to build the library. The purpose of my batch file is to help at least know what options and what steps are needed to build the library. Even if you don't want to run the batch file itself, you can pick an individual command to help with the options for what you wan...
- Thu Sep 17, 2009 10:00 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
- Replies: 36
- Views: 13151
OK, I see... well.. partially. Semantics aside (saying you built with MSYS is like saying I built with DOS, or maybe I built with Bash... no you didn't. You used a compiler and ran it FROM that shell, but you didn't compile a darned thing with the shell itself... but again, that's semantics and we c...
- Thu Sep 17, 2009 1:40 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Installing in Code::Blocks with MinGW and no MSYS or CYGWIN
- Replies: 36
- Views: 13151
More info needed
Need more info to help you. I have neither a reference for Cygwin/bin in PATH nor one for MSYS. You don't need either Cygwin OR MSYS for the batch file I gave. I have MSYS, but I don't use it to build. I do not have Cygwin installed at all. I have MSYS 1.0 installed (the errors occured even before) ...
- Tue May 12, 2009 3:11 pm
- Forum: The Code Dump
- Topic: A Beginner's Helper: Build wxWidgets on Win32 w/ MinGW
- Replies: 3
- Views: 3773
- Fri Apr 24, 2009 9:35 pm
- Forum: C++ Development
- Topic: Logging to multiple LogTargets?
- Replies: 9
- Views: 3358
One correction to above code: My wxCLogFrame (I plan to post it itself as a library inside of the Code Dump forum later) has to be stored inside of your main frame. AND when your main frame closes (in the OnClose method) you have to Destroy the log frame. If you wait until after the main frame close...