Search found 199 matches

by Ksmith22
Mon May 08, 2006 2:05 pm
Forum: C++ Development
Topic: wxURL GetInputStream woes
Replies: 14
Views: 2444

Yeah this actually worked for me in 2.6.3 as well.
by Ksmith22
Tue May 02, 2006 2:14 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.6.3 integrating in Visual Studio 2005
Replies: 4
Views: 1090

I'm almost positive the answer to that is no, unless someone has developed something very recently (I doubt it).
by Ksmith22
Thu Apr 13, 2006 3:12 pm
Forum: Compiler / Linking / IDE Related
Topic: link error, from a new wxWidgets user. thanks
Replies: 2
Views: 789

Are you linking with wx*_html.lib? (where * is whatever your platform/version is)
by Ksmith22
Wed Apr 12, 2006 3:24 pm
Forum: General Development
Topic: What are the benifint of mailing list
Replies: 6
Views: 1086

Because the developers very rarely visit or post on the forums.
by Ksmith22
Tue Apr 11, 2006 5:33 pm
Forum: Compiler / Linking / IDE Related
Topic: Linking problem with wxHtmlWindow
Replies: 4
Views: 844

It looks like you are missing an event table somewhere.
by Ksmith22
Mon Apr 10, 2006 9:09 pm
Forum: C++ Development
Topic: wxFrame inside a wxPanel
Replies: 3
Views: 640

I'm not exactly sure why you would want to. The two are essentially the same (at least in this context - obviously not in the top level context).
by Ksmith22
Fri Apr 07, 2006 6:30 pm
Forum: C++ Development
Topic: Launch Default E-mail?
Replies: 2
Views: 641

Launch Default E-mail?

I didn't see this, but maybe I missed it. Is there a function like wxLaunchDefaultBrowser() for e-mail? For example, if I type: mailto:[email protected].com ( [email protected].com - had to use the [email] tag here) And click that link, it opens up the default e-mail program with a message t...
by Ksmith22
Thu Apr 06, 2006 4:53 pm
Forum: General Development
Topic: get a wxArrayString as a wxString
Replies: 6
Views: 936

MoonKid wrote:
Ksmith22 wrote: It's so easy I don't see why it needs to be written into the class.
THATs why I want it in the class. Because I do not want to write such easy things every time!
Make it a function. You only have to write it once.
by Ksmith22
Thu Apr 06, 2006 4:18 pm
Forum: General Development
Topic: get a wxArrayString as a wxString
Replies: 6
Views: 936

Code: Select all

wxString s = "";

for(int i=0;i<arr_str->GetCount();i++)
{
   s << arr_str->Item(i);

   // Don't draw a \n at the end of the string
   if(i != arr_str->GetCount()-1)
       s << '\n';
}
There ya go. It's so easy I don't see why it needs to be written into the class.
by Ksmith22
Wed Apr 05, 2006 8:28 pm
Forum: General Forum Issues
Topic: (important) wxCommunity and integrating !?
Replies: 7
Views: 1923

I'd say go for it, with the proviso that the forum maintains a backup of relevant data for the users. Assume for a moment what would the result be if the wxCommunity site went belly up. Where would all the good stuff be? I am all for sharing of information, and possibly of users etc, but wouldn't l...
by Ksmith22
Wed Apr 05, 2006 7:39 pm
Forum: C++ Development
Topic: My wxWidgets application doesn't run in other computers,why?
Replies: 14
Views: 2652

Well it makes the app a bit smaller if you link dynamically I think When i finished my first application that used wxWidgets, i had exacly the same problem as the topic starter (idhan), i even posted it here: http://forums.wxwidgets.org/viewtopic.php?t=5339 and i was affraid that my allready >2MB a...
by Ksmith22
Wed Apr 05, 2006 3:40 pm
Forum: C++ Development
Topic: My wxWidgets application doesn't run in other computers,why?
Replies: 14
Views: 2652

Edwin is 100% right. I bet my right arm that the problem is the anoying vcrt dependency. Just recompile / link all your wxWidgets code (including the library itself) to use static linking to the C++ runtime, and your problems will go away :D PS: To the wxWidgets dev team: This kind of trouble seems...
by Ksmith22
Tue Apr 04, 2006 7:24 pm
Forum: C++ Development
Topic: Destroying wxBitmaps
Replies: 1
Views: 403

Doesn't something like this work? wxBitmap bmp1("somebitmap.bmp",wxBITMAP_TYPE_BMP); wxBitmap bmp2("someotherbitmap.bmp",wxBITMAP_TYPE_BMP); bmp1 = bmp2; // or wxBitmap bmp3(bmp1); The docs say those all use pointers though, and suggest this if you want a real copy: wxBitmap newBitmap = oldBitmap.Ge...
by Ksmith22
Tue Apr 04, 2006 1:52 pm
Forum: C++ Development
Topic: Quick wxFSFile & GetModificationTime() Question
Replies: 2
Views: 766

micros wrote:Looking at wxInternetFSHandler::OpenFile (src/common/fs_inet.cpp), I'd answer your question "Yes, the times are the same". The handler not only opens the remote file, it copies it to a temporary local file and returns a wxFSFile of the local one.
Gotcha. Thanks!
by Ksmith22
Mon Apr 03, 2006 6:43 pm
Forum: C++ Development
Topic: Quick wxFSFile & GetModificationTime() Question
Replies: 2
Views: 766

Quick wxFSFile & GetModificationTime() Question

Before I mess around with this, I figured I would ask to save myself some trial-and-error. I am currently using wxFileSystem to get a file off a website. What I need to do is check when this file was last modified, and if it was changed, re-download it. My question is, if I setup the wxFSFile once w...