Search found 211 matches
- Sun Jun 10, 2007 11:51 am
- Forum: C++ Development
- Topic: Blinking text
- Replies: 2
- Views: 838
- Sun May 27, 2007 1:07 pm
- Forum: C++ Development
- Topic: Bold brace in wxStyledTextCtrl
- Replies: 3
- Views: 801
- Wed May 16, 2007 9:14 am
- Forum: C++ Development
- Topic: Where intercept all the exceptions throwed in the applicatio
- Replies: 8
- Views: 1525
- Tue May 15, 2007 5:24 pm
- Forum: C++ Development
- Topic: Where intercept all the exceptions throwed in the applicatio
- Replies: 8
- Views: 1525
Overwrite wxApp::OnRun(). Additionally overwrite wxApp::OnExceptionInMainLoop() Since OnExceptionInMainLoop() is useless, because the type of the execption is unknown, just throw it again. Like so: bool MyApp::OnExceptionInMainLoop() { throw; } int MyApp::OnRun() { try { wxApp::OnRun(); } catch (std...
- Sat May 05, 2007 3:03 pm
- Forum: C++ Development
- Topic: what control is this? does it exist in wx?
- Replies: 6
- Views: 1882
- Thu Mar 22, 2007 11:28 am
- Forum: General Development
- Topic: lua to exe?
- Replies: 1
- Views: 831
- Fri Mar 16, 2007 9:57 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Linking Problems with Monolithic DLL (Symbols already define
- Replies: 0
- Views: 509
Linking Problems with Monolithic DLL (Symbols already define
Hi, I'm trying to build a DLL wich is using wxWidgets. WX is built as Monolithic DLL. I'm Getting Linking-Errors because of std::vector<int>: 1>wxmsw28DLL.lib(wxmsw28DLL_vc_GD.dll) : error LNK2005: "public: __thiscall std::vector<int,class std::allocator<int> >::~vector<int,class std::allocator...
- Fri Mar 16, 2007 2:13 pm
- Forum: C++ Development
- Topic: wxString memory usage question
- Replies: 8
- Views: 2083
I think it's your CRT. Most compilers I know are using some sort of memory management wich does not releases the memory back to the operating system. Instead they reusing it for later use. All compilers I had to do with had a Non-Ansi-Function to give the free memory back to the system. They have na...
- Fri Mar 16, 2007 11:22 am
- Forum: General Development
- Topic: Text for 4ms
- Replies: 3
- Views: 779
Also, if your Monitor has 100 Hz, it refreshes 100 times per second. That means every Frame is visible for 10 ms. If you display your text in the top half of your monitor and the electronic beam, wich builds your picture, is below that point, your text will never be visible, because the next time th...
- Mon Mar 12, 2007 1:27 pm
- Forum: C++ Development
- Topic: About Microsoft Office Excel(.xls) files
- Replies: 6
- Views: 1547
- Thu Mar 08, 2007 9:58 am
- Forum: Announcements and Discoveries
- Topic: Build Version Incrementor
- Replies: 2
- Views: 839
Personally, I use a simple Lua-Script to do that. It takes the revision number from Subversion and writes it as #define in a Header. This way, I can take that revision number from the about box, check out that revision from subversion and have the source for exact the same version. Maybe it's an ide...
- Tue Feb 27, 2007 9:29 pm
- Forum: General Development
- Topic: Which Windows Message matches which wxWidgets event macro?
- Replies: 4
- Views: 1181
You can ovewrite the window-procedure wich gets the original messages: WXLRESULT MyWindow::MSWWindowProc (WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) { switch (nMsg) { case WM_WHATEVER: doSomething(); break; case ... } return wxControl::MSWWindowProc(nMsg, wParam, lParam); } This snippet is from ...
- Mon Jan 01, 2007 8:29 pm
- Forum: Open Discussion
- Topic: The New Year 2007 - Thread!
- Replies: 4
- Views: 1148
I spent new year night at home too, because this was the first new year for my dog. I did not know how he reacts to fireworks, so I did not wanted to leave him alone. At midnight a friend knocked on my door. Crying. Her son died that day. He was only fifteen. One second he was fine and had fun with ...
- Thu Nov 16, 2006 11:38 pm
- Forum: General Development
- Topic: Exception handling
- Replies: 3
- Views: 861
Division by Zero is an Hardware Exception, not a C++ Exception. You can't catch Hardware-Exceptions (Okay, you can, at least if your're using Visual Studio, you can write a Handler to catch those). The only exceptions you can catch are C++ exceptions. This means you can only catch exceptions that ar...
- Wed Nov 15, 2006 9:24 am
- Forum: General Development
- Topic: When wxWidgets will become a real C++ toolkit?
- Replies: 14
- Views: 4034
Hmmm, we have 2006, not 1995. It was okay back then. But today I find it only ugly and counterintuitive. BUT: I can Compile wx with the Flag wxUSE_STL (or so). So my WX uses the STL for Strings and Arrays. That way I can use std::string in my programms and give those strings to wx-Functions, without...