Search found 106 matches
- Tue Jan 18, 2011 6:15 pm
- Forum: C++ Development
- Topic: wxRadioButton selected event?
- Replies: 1
- Views: 881
wxRadioButton selected event?
Is there a way to get an event as soon as a radio button is selected? To clarify, I know how to get a selection of a radio box in a wizard, inside OnWizardPageChanging(). But that's too late for me (i.e. not real-time). I need to update something in the wizard page itself, in response to a selection...
- Tue Jul 13, 2010 7:37 pm
- Forum: C++ Development
- Topic: Message from Server to client
- Replies: 1
- Views: 968
- Mon Jul 12, 2010 8:16 pm
- Forum: C++ Development
- Topic: Can I use wxTextCtrl to logging by using printf?
- Replies: 4
- Views: 1910
You are very welcome. I am very happy that I was able to help. Usually I am on the asking side (I have a LOT to learn) as you can see in this question, but whenever I see a question with which I have some experience I happy to offer the little I know.cookieki wrote:thanks for answer, davebee.
- Fri Jul 09, 2010 10:56 pm
- Forum: C++ Development
- Topic: Can I use wxTextCtrl to logging by using printf?
- Replies: 4
- Views: 1910
You can't use printf directly to log with wxTextCtrl. You use wxTextCtrl in conjunction with wxLog::SetActiveTarget() and then use the cout-like method of streaming, e.g. m_pTextCtrl << messageStr (where messageStr is a wxString). If you need printf-like functionality, simply wxString::Format() on m...
- Fri Jul 09, 2010 10:15 pm
- Forum: C++ Development
- Topic: Which wx can interact with Firefox's DOM?
- Replies: 0
- Views: 973
Which wx can interact with Firefox's DOM?
Searching this forum yielded very useful threads, such as http://forums.wxwidgets.org/viewtopic.php?t=26210 . wxWebConnect looks like an amazing library, which can also interact with DOM, but I don't really need to render HTML. I only to parse it. wxHtmlParser which looks like what I am really after...
- Tue Jun 29, 2010 4:29 pm
- Forum: Platform Related Issues
- Topic: wxWidgets for Android?
- Replies: 11
- Views: 19027
Re: wxWidgets for Android?
How is this different from other operating systems supported by wxWidgets?Mojo wrote:Android is yet another the fruit of marketing, M$ has a lot of fruits, but Google probably will have soon many ones too.
- Fri Jun 25, 2010 6:54 pm
- Forum: Platform Related Issues
- Topic: wxWidgets for Android?
- Replies: 11
- Views: 19027
wxWidgets for Android?
I know, I know... "Google Android is based on Linux but it is not Linux, it has no X server. Also Google Android is based on Java , but it is not Java because has no regular Java Runtime." But now with Android's NDK it's finally possible to develop in C/C++ for the Android... so I was wond...
- Fri May 07, 2010 10:29 pm
- Forum: C++ Development
- Topic: What is the RIGHT approach to a Themed Background ?
- Replies: 7
- Views: 2426
- Fri May 07, 2010 4:07 pm
- Forum: C++ Development
- Topic: What is the RIGHT approach to a Themed Background ?
- Replies: 7
- Views: 2426
- Thu May 06, 2010 7:50 pm
- Forum: C++ Development
- Topic: What is the RIGHT approach to a Themed Background ?
- Replies: 7
- Views: 2426
- Thu May 06, 2010 5:44 pm
- Forum: C++ Development
- Topic: What is the RIGHT approach to a Themed Background ?
- Replies: 7
- Views: 2426
Hi, I believe you should be able to only set the background color of the base panel, and then all widgets added in it should, by their transparent borders, not override that background color. Is it not the case? (on wxMac I believe it is; maybe Windows does not behave the same though) I am not sure...
- Thu May 06, 2010 3:31 pm
- Forum: C++ Development
- Topic: What is the RIGHT approach to a Themed Background ?
- Replies: 7
- Views: 2426
What is the RIGHT approach to a Themed Background ?
I know about the wxWindow::SetBackgroundColour() method which is available to all derived classes and thus allows changing the background color of each widget. It seems to me however that there must be a less tedious way of setting a themed background to all wizard pages, message boxes, etc. (simila...
- Sun Mar 21, 2010 10:43 pm
- Forum: C++ Development
- Topic: What's the purpose of wxString::GetWriteBuf() ?
- Replies: 11
- Views: 3413
For the record: It turns out that wxString::GetWriteBuf() is deprecated in favor of wxStringBuffer:
http://trac.wxwidgets.org/changeset/44699
It's old news, but I believe it's nice to have this important piece of information accompanying this discussion.
http://trac.wxwidgets.org/changeset/44699
It's old news, but I believe it's nice to have this important piece of information accompanying this discussion.
- Thu Dec 03, 2009 10:42 pm
- Forum: C++ Development
- Topic: What's the purpose of wxString::GetWriteBuf() ?
- Replies: 11
- Views: 3413
Yes, but is it really faster than:doublemax wrote:The second version will be faster
Code: Select all
wxChar *buf=malloc(1024);
for(wxChar c=32; c<256; c++) {
*buf++=c;
}
*buf=0;
wxString s(buf, 256);
free(buf);
- Thu Dec 03, 2009 10:05 pm
- Forum: C++ Development
- Topic: wxStringOutputStream doesn't work with binary strings
- Replies: 7
- Views: 2429
I believe that I am beginning to understand what's happening. First, earlier in my posts I confused between wxTextOutputStream and wxFileOutputStream. I meant the latter, of course. Now that this is clear, I can now understand why wxStringOutputStream is not interchangeable with wxFileOutputStream (...