Search found 323 matches
- Sun Jan 31, 2010 6:32 pm
- Forum: C++ Development
- Topic: How to sort a wxString
- Replies: 4
- Views: 1360
How to sort a wxString
Hello !! I have a little question, and i'm very surprise to not having found a solution into this forum (after a search), neither in the documentation. I just want to sort a string: wxString a = _T("DFCEBA"); I just want to obtain ABCDEF into my string. For now, I have the choice to do it ...
- Thu Dec 31, 2009 6:33 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Linking errors with my project (build under mingw with g++)
- Replies: 4
- Views: 1777
I solved this problem by using precompilation flag WXUSINGDLL to build my application. Indeed, I found this into the wxwidgets source code: #if wxHAS_TEXT_WINDOW_STREAM int overflow(int i); #endif // wxHAS_TEXT_WINDOW_STREAM and this is defined at top level: #if defined(__WATCOMC__) || \ defined(__M...
- Thu Dec 31, 2009 5:52 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Linking errors with my project (build under mingw with g++)
- Replies: 4
- Views: 1777
Hi !!! After several hours, i built a new time wxWidgets but with SHARED=1, UNICODE=1, and this time I obtain good libraries into wxWidgets2.8.9\lib\gcc_dll. My application compilation is OK. But the link just fails with ONE remaining error !!! An unresolved reference to `wxTextCtrlBase::overflow(in...
- Wed Dec 30, 2009 3:19 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Linking errors with my project (build under mingw with g++)
- Replies: 4
- Views: 1777
Hi !!! I don't understand anything, with which libraries I need to link ??? Here is the content of \wxwidgets-2.8.9\lib : libwx_baseud-2.8.dll.a libwx_baseud_net-2.8.dll.a libwx_baseud_xml-2.8.dll.a libwx_mswud_adv-2.8.dll.a libwx_mswud_aui-2.8.dll.a libwx_mswud_core-2.8.dll.a libwx_mswud_html-2.8.d...
- Mon Dec 28, 2009 10:56 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Linking errors with my project (build under mingw with g++)
- Replies: 4
- Views: 1777
Linking errors with my project (build under mingw with g++)
Hello, I built correctly my project under windows with MinGW but i've got a lots of error during the link. Here is the line i used to link: g++ -L"C:\Alex\wxWidgets-2.8.9\lib" -L"C:\Alex\MySQL5.1\lib\opt" -o"../Krablenet/krablenet-engine" -mthreads -Wl,--subsystem,windo...
- Mon Dec 28, 2009 7:11 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Error building wxWidgets minimal sample under Eclipse CDT
- Replies: 1
- Views: 982
Error building wxWidgets minimal sample under Eclipse CDT
Hello !! My aim is to build my app into windows. Originally, I was using Ubuntu with Eclipse CDT. My reflex is to use Eclipse CDT with Mingw / Msys under windows, but a lots and a lots of problems appear !!! After 5 hours of tries, - I installed wxWidgets (I used 2.8.9 unicode debug for this purpose...
- Thu Oct 29, 2009 9:43 am
- Forum: C++ Development
- Topic: Splash screen problem
- Replies: 3
- Views: 1280
Sorry ! I see your answer very lately ! CProgressDialog is my own progress dialog, derived from wxProgressDialog, it contains a thread safe way to execute actions from my engine. It encapsulates a gauge than can be manipulated directly from the engine. Consider it is like a wxProgressDialog. Regards.
- Thu Oct 29, 2009 9:30 am
- Forum: C++ Development
- Topic: Trying to discover sudden exit error
- Replies: 4
- Views: 1004
- Thu Sep 10, 2009 4:37 pm
- Forum: C++ Development
- Topic: How to get special directories on Windows (Desktop etc)
- Replies: 9
- Views: 2825
- Thu Sep 10, 2009 1:04 pm
- Forum: C++ Development
- Topic: Drag and drop of wxTreeCtrl item out of the control
- Replies: 4
- Views: 1895
Hello ! You are right, wxTreeCtrl has its own drag and drop mechanism for moving elements in the tree. But for dragging elements out of the tree, it must use a more global dnd mechanism. Your wxTreeCtrl must be the source from dragging, and your destination widget must be able to receive your elemen...
- Thu Sep 10, 2009 8:23 am
- Forum: C++ Development
- Topic: Probs with wxString
- Replies: 3
- Views: 927
- Thu Sep 10, 2009 8:20 am
- Forum: C++ Development
- Topic: first weekday?
- Replies: 4
- Views: 1362
- Wed Sep 09, 2009 8:46 am
- Forum: Compiler / Linking / IDE Related
- Topic: [wxWidgets 2.8.10][MSW][Mingw] Unable to build wxWidgets...
- Replies: 0
- Views: 698
[wxWidgets 2.8.10][MSW][Mingw] Unable to build wxWidgets...
Hello, i'm facing a big problem since yesterday because I try to build wxWidgets for Windows, using Mingw. I'm using this command : n100836@XPSCPSRMS01 /e/Temp/n100836/wxWidgets/build-debug $ ../configure --with-msw --enable-debug --enable-debug_gdb --enable-unicode ... ... n100836@XPSCPSRMS01 /e/Te...
- Tue Sep 08, 2009 4:36 pm
- Forum: C++ Development
- Topic: first weekday?
- Replies: 4
- Views: 1362
Hello, hope it helps, i found this in cplusplus.com, but it is not related to wxWidgets. It is a plateforme undependent solution to get the day from the day (in number), the month and the year. C++ standard implies that the first day of the week is always Sunday.... /* mktime example: weekday calcul...
- Mon Sep 07, 2009 12:37 pm
- Forum: C++ Development
- Topic: How to clean / close allocated wx objects in wxWidgets
- Replies: 2
- Views: 1253
Hi Webmail, you'd better read this: http://docs.wxwidgets.org/trunk/page_multiplatform.html#page_multiplatform_allocatingobjects In general, classes derived from wxWindow must dynamically allocated with new and deleted with delete. If you delete a window, all of its children and descendants will be ...