Search found 234 matches
- Fri Jan 21, 2011 8:43 am
- Forum: C++ Development
- Topic: Is it possible to embed another program with WX?
- Replies: 4
- Views: 1615
- Thu Dec 16, 2010 7:25 am
- Forum: wxDev-C++
- Topic: How to hide lines of code??
- Replies: 2
- Views: 1310
wxDev-C++ doesn't seem to support outlining (this is how this feature is called in Visual Studio), but I'm not sure for I don't use that IDE. Anyway, outlining doesn't really help much with really huge programs. Try to split large files into several smaller ones and divide large functions. This is f...
- Mon Nov 08, 2010 11:19 am
- Forum: C++ Development
- Topic: Linker errors
- Replies: 3
- Views: 1361
You use Visual Studio, don't you? The reason for your second problem is probably that you have chosen invalid runtime library (i.e. not the one that wxWidgets LIBs had been linked with). I don't remember which runtime library is used by the LIBs, but you can find out easily by switching the 'Runtime...
- Sun Nov 07, 2010 8:56 am
- Forum: C++ Development
- Topic: Access Violation
- Replies: 3
- Views: 1161
- Fri Nov 05, 2010 1:26 pm
- Forum: C++ Development
- Topic: Timley network function, should it go in its own thread?
- Replies: 1
- Views: 839
It is very common to perform network operations using threads, but if you want the operation to be non-blocking, you should not wait for the network function to return. Just let the main thread go further, while the secondary thread is downloading and parsing the website. And remember that the secon...
- Fri Oct 29, 2010 3:48 pm
- Forum: General Forum Issues
- Topic: Ignoring forums
- Replies: 1
- Views: 6788
Ignoring forums
I have a small feature proposal. It would be really nice if users could add particular forums to their private ignore list. I can hardly read Russian and don't know Chinese at all, so I just don't want to see Russian and Chinese forums :?. I believe that a suitable mod exists for phpBB-based boards,...
You need to place these definitions somewhere in your code:
Code: Select all
#define _WIN32_WINNT 0x501
#define _WIN32_IE 0x0400
- Fri Oct 22, 2010 2:15 pm
- Forum: Compiler / Linking / IDE Related
- Topic: compiling project with libraries
- Replies: 1
- Views: 897
- Fri Oct 22, 2010 1:54 pm
- Forum: C++ Development
- Topic: How to integrate wxWidget application with other C++ applica
- Replies: 10
- Views: 3121
I use something like this: class MyApp : public wxApp { // ... }; IMPLEMENT_APP_NO_MAIN (MyApp); void InitMyApp() { int dummy = 0; bool ok = wxEntryStart (dummy, null); assert (ok); } void ExitMyApp() { wxTheApp->OnExit(); wxEntryCleanup(); } You can just call InitMyApp from your 'main' to create wx...
- Fri Oct 22, 2010 8:52 am
- Forum: C++ Development
- Topic: How to integrate wxWidget application with other C++ applica
- Replies: 10
- Views: 3121
Yes it is an independednt console application. I have developed a basic UI in wx Widget and now want to integrate it with that console application. It shouldn't be very hard then. If your 'main' is too complicated to replace it with IMPLEMENT_APP, then you can use IMPLEMENT_APP_NO_MAIN instead and ...
- Thu Jul 22, 2010 6:59 am
- Forum: C++ Development
- Topic: Append line to existing text file problem
- Replies: 2
- Views: 1307
- Mon May 10, 2010 8:07 am
- Forum: C++ Development
- Topic: wxMessageBox not displayed while button clicked
- Replies: 4
- Views: 1297
- Tue Apr 27, 2010 1:48 pm
- Forum: C++ Development
- Topic: Syntax Highliting
- Replies: 3
- Views: 1067
- Tue Apr 27, 2010 7:11 am
- Forum: C++ Development
- Topic: Correct way to pass a wxList as a method parameter or return
- Replies: 7
- Views: 2078
You should pass all non-POD objects by reference (or by pointer) to avoid unnecessary data copying. In case of wxList the performance gain would not be significant as its data is not stored in the object itself, but just for consistency with the general rules you should not pass lists by value, eith...