Search found 139 matches
- Wed Jan 26, 2011 7:31 pm
- Forum: C++ Development
- Topic: wxStaticText transparent background
- Replies: 3
- Views: 4261
- Mon Sep 27, 2010 8:09 am
- Forum: Compiler / Linking / IDE Related
- Topic: setup.h infamous error -CodeLite
- Replies: 9
- Views: 6850
Hi evstevemd,
take a look at the build.cfg in Lib/gcc_lib/mswu.
There is a line:
Change that to:
Frank
take a look at the build.cfg in Lib/gcc_lib/mswu.
There is a line:
Code: Select all
DEBUG_FLAG=1
Code: Select all
DEBUG_FLAG=default
- Sun May 23, 2010 10:43 am
- Forum: C++ Development
- Topic: Animation
- Replies: 6
- Views: 2491
Re: Animation
and in function in which I want to move my bitmap: for(int i=0; i<Dist; ++i) { ++x; Refresh(); //Sleep(10); wxGetApp().Yield(); // give your app a chance to draw !!! } A Refresh() will just add an event to the event queue. Since your are in a loop here, you must give your app a chance to handle tho...
- Thu Apr 22, 2010 9:32 pm
- Forum: C++ Development
- Topic: Get path to current module/EXE?
- Replies: 6
- Views: 6361
Hi JohnD,
http://docs.wxwidgets.org/2.8/wx_wxstandardpaths.html
try this:
Frank
http://docs.wxwidgets.org/2.8/wx_wxstandardpaths.html
try this:
Code: Select all
wxStandardPaths std;
wxString exePath = std.GetExecutablePath();
- Fri Apr 16, 2010 7:48 am
- Forum: C++ Development
- Topic: wxTreeCtrl - InsertItem with wxTR_HIDE_ROOT style problem
- Replies: 5
- Views: 1685
Hi greg,
what is the return value of wxTreeCtrl::AddRoot on the 3. page.
It should return the root item.
Frank
what is the return value of wxTreeCtrl::AddRoot on the 3. page.
It should return the root item.
Code: Select all
wxTreeItemId AddRoot(const wxString& text, int image = -1, int selImage = -1, wxTreeItemData* data = NULL)
- Thu Apr 15, 2010 5:48 pm
- Forum: C++ Development
- Topic: wxTreeCtrl - InsertItem with wxTR_HIDE_ROOT style problem
- Replies: 5
- Views: 1685
- Thu Apr 15, 2010 1:01 pm
- Forum: C++ Development
- Topic: VC++ 2008 EE output files don't work on another PC
- Replies: 7
- Views: 2457
Hi Mojo,Mojo wrote: Nothing remains for me but to try rebuild my project with GCC compiler and GDB debugger from MinGW.
I guess this is the best you can do. We had a lot of trouble with this MS DLL hell, but since we dropped all MS stuff (IDE and compiler) and moved to MinGW life is easy again.
Frank
- Wed Apr 14, 2010 10:19 am
- Forum: C++ Development
- Topic: Creating a table to display data
- Replies: 2
- Views: 4342
Hi Fire Lancer,
take a look here, maybe that's what you looking for:
http://wxcode.sourceforge.net/components/advtable/
Frank
take a look here, maybe that's what you looking for:
http://wxcode.sourceforge.net/components/advtable/
Frank
- Tue Apr 13, 2010 2:02 pm
- Forum: C++ Development
- Topic: Simple animation in wxWidgets C++
- Replies: 4
- Views: 1887
- Mon Apr 12, 2010 4:30 pm
- Forum: Platform Related Issues
- Topic: wxListCtrl InsertItem problem on MAC
- Replies: 3
- Views: 1663
- Mon Apr 12, 2010 10:38 am
- Forum: Platform Related Issues
- Topic: wxListCtrl InsertItem problem on MAC
- Replies: 3
- Views: 1663
wxListCtrl InsertItem problem on MAC
Hi to all, I have a log window with a wxListCtrl inside. The newest entry should always be the first in the list, so I call pList->InsertItem(0,"Some text") This works as expected on MSW, but on MAC it always replaces the first entry, so that the list is never filled. Do I miss something? ...
- Sun Apr 11, 2010 9:57 am
- Forum: C++ Development
- Topic: Using wxTCPServer for multiple clients
- Replies: 3
- Views: 1399
- Sun Mar 28, 2010 3:33 pm
- Forum: C++ Development
- Topic: Print a wString sequentially
- Replies: 1
- Views: 945
Re: Print a wString sequentially
Hi chouahm2, you should call wxGetApp().Yield() after changing the text, to give your wxTextCtrl a chance to update. Frank for (int i = 0 ; i < str.Length() ; i++) { m_dialog->WriteText(str.SubString(i,i)); /* m_dialog is a wxTextCtrl() box*/ // call wxApp Yield() here to update wxTextctrl !!! wxGet...
- Thu Mar 25, 2010 1:12 pm
- Forum: C++ Development
- Topic: Trouble with wxPaintDC in wxThread
- Replies: 4
- Views: 1546
Hi m_ishihara, if you give your render thread a pointer to your wxGlCanvas, you can call pGlCanvas->Refresh() from within your render thread without problems. I used this way to render up to 12 wxGlCanvas with different content in a 10 ms time slice without having any trouble with it.(At least on Wi...
- Wed Mar 17, 2010 9:54 am
- Forum: C++ Development
- Topic: glCanvas
- Replies: 2
- Views: 902