Search found 203 matches

by eco
Fri Jun 03, 2005 3:08 am
Forum: General Development
Topic: Sizer Question
Replies: 3
Views: 1065

pSizer1->Add(pSizer1_1, wxEXPAND | wxALL, 5); pSizer1->Add(pSizer1_2, wxEXPAND | wxALL, 5); pSizer1_1->Add(pText_SimScript, wxALL, 5); It looks like you are missing a parameter in there (proportion). Try this: pSizer1->Add(pSizer1_1, 0, wxEXPAND | wxALL, 5); pSizer1->Add(pSizer1_2, 0, wxEXPAND | wx...
by eco
Tue May 31, 2005 10:31 pm
Forum: General Development
Topic: Sizer Question
Replies: 3
Views: 1065

Use the flag wxEXPAND.
by eco
Tue May 31, 2005 10:25 pm
Forum: C++ Development
Topic: "#pragma once" for header files under GCC
Replies: 3
Views: 1090

It is deprecated in GCC versions before 3.4. It was undeprecated in GCC 3.4. but it's more portable to use the standard inclusion cards like Avi showed although avoid putting two leading underscores before the name as those names are reserved for the compiler's interal usage according to the ANSI st...
by eco
Fri May 27, 2005 11:47 pm
Forum: C++ Development
Topic: font problem with wxMemoryDC::DrawText()
Replies: 2
Views: 915

You really should use wxWidgets 2.6.0. I know that the default font on windows (the one that would be chosen by your first example) is Serif which is a non-TrueType font and you can only make it so small before it just stops getting any smaller. Arial should have no problems though. I've seen Arial ...
by eco
Fri May 27, 2005 11:06 am
Forum: General Development
Topic: Antialiasing in wxWidgets drawing?
Replies: 1
Views: 1288

No, there isn't but I just learned for myself just how easy GDI+ is to use so if you are targeting Windows exclusively you can use GDI+. If you want something more cross platform you may want to look into using Anti-Grain.
by eco
Fri May 27, 2005 10:55 am
Forum: Compiler / Linking / IDE Related
Topic: wxwidges2.6 on Debian SID
Replies: 1
Views: 751

You could try emailing Ron Lee directly and ask him (he does the Debian release packaging for wxWidgets). His address is ron <AT> debian.org.
by eco
Fri May 27, 2005 12:47 am
Forum: General Development
Topic: List of installed Apllications of Windows
Replies: 8
Views: 2066

If you are going to write one, wxRegKey will probably be of use (and is a lot easier than using the Win32 registry access API).
by eco
Fri May 13, 2005 7:43 am
Forum: C++ Development
Topic: Help, what's wrong with me or wxDateTime
Replies: 5
Views: 1144

Digging around, there is indeed a fix for it in datetime.inl but I don't see where datetime.inl is included. I do see all the inline functions defined in datetime.h (including the one missing the msec assignment). The only place datetime.inl is mentioned is in a couple of Makefile.in's and bakefiles...
by eco
Tue May 10, 2005 9:49 am
Forum: C++ Development
Topic: wxDateTime
Replies: 6
Views: 1669

Ah, right you are. I was looking for "milli" when I looked over the Tm structure. I'm sure the developers would appreciate if you made a patch for this. It's kind of a weird oversight though.
by eco
Tue May 10, 2005 6:41 am
Forum: C++ Development
Topic: How can I stream to a wxImage?
Replies: 7
Views: 1576

I'm not sure, I've never done it. Has anyone on the board derived from wxFileInputStream and would like to share their insight?
by eco
Tue May 10, 2005 1:10 am
Forum: C++ Development
Topic: How can I stream to a wxImage?
Replies: 7
Views: 1576

You might be able to derive a new class from wxFileInputStream and update the progress bar from there. It probably wouldn't cover the time needed to decompress the image but at least you'd get the file load progress.
by eco
Mon May 09, 2005 8:17 pm
Forum: C++ Development
Topic: Screen Resoulution???
Replies: 6
Views: 1696

Weird...I could have sworn I posted a reply to this thread last night...I was groggy though so maybe I just hit Preview :). All it said was check out wxDisplay but that's now covered.
by eco
Mon May 09, 2005 11:25 am
Forum: C++ Development
Topic: Where can I find parser for config file of Apache?
Replies: 4
Views: 1111

I see the perl module libapache-configfile-perl (Read only. No write). My quick google search didn't reveal any C/C++ parsers but I only looked through a couple of pages of results. The Apache config format is well defined though. It shouldn't be too hard to write your own.
by eco
Mon May 09, 2005 11:21 am
Forum: C++ Development
Topic: wxDateTime
Replies: 6
Views: 1669

The structure Tm doesn't support milliseconds. Which methods are you using that end up with a call to Set(const Tm& tm)? There are 6 Set functions and without looking at the implementation, I'd assume 5 of them all call the version that accepts everything from days to milliseconds (like the version ...
by eco
Sun May 08, 2005 1:57 am
Forum: Compiler / Linking / IDE Related
Topic: [MS VS .NET] Compiling the lib - One single .lib or not?
Replies: 7
Views: 1834

Re: [MS VS .NET] Compiling the lib - One single .lib or not?

I must admit, I don't understand the whole architecture of wxWidgets. I mean, after I compile the libs, why aren't they in the lib folder (they are in the "lib/vc_lib/" folder)? How can I create one single lib - or more important, how can I get the samples work with those several small lib files? (...