Search found 802 matches

by leio
Tue Mar 21, 2006 9:10 pm
Forum: Announcements and Discoveries
Topic: wxWidgets 2.6.3 Release Candidate 1
Replies: 17
Views: 8729

That GetCount thing is not mentioned in WX_2_6_BRANCH changes.txt...
by leio
Tue Mar 21, 2006 7:05 pm
Forum: C++ Development
Topic: LIcense
Replies: 5
Views: 3948

You don't HAVE to include any licenses but your own (if you wish to have that, you probably do), at least as far I know - IANAL. In fact, if you do include the wxWindows license and don't make it very clear that this is for the used library, it might mean that your application is under the wxWindow ...
by leio
Tue Mar 21, 2006 2:07 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 2.6.3-RC1 with GCC 4.1 (MinGW)
Replies: 14
Views: 6970

--disable-precomp-headers to configure for that one.
mingw-3.4 has broken precompiled header support.
by leio
Sat Mar 18, 2006 1:50 pm
Forum: C++ Development
Topic: hello world menubar characters not appear
Replies: 6
Views: 2795

If you are using wxX11-2.6.2, then don't. Unfortunately it doesn't show fonts :( You should try using the mature and officially supported wxGTK port, built against GTK+ 2.x. If you really want to use wxX11, then you could try out wxX11-2.6.3 RC1 or later. Release Candidate 2 is planned for this week...
by leio
Sat Mar 18, 2006 1:47 pm
Forum: General Development
Topic: About submitting patches to wxWidgets (on SF)
Replies: 2
Views: 3408

Sorry that I didn't give an explanation for the resolution change. I did it for the reason that David explained. It is set to "Worksforme" when the developer has it working without doing anything to make it work (including applying a patch). More often used for bugs (still rarely though), ...
by leio
Fri Mar 17, 2006 9:29 am
Forum: C++ Development
Topic: custom Socket wrapper help
Replies: 8
Views: 5239

I am inheriting my connection class from both wxSocketClient and wxEvtHandler. So I have a is-a relationship to wxSocketClient, not a has-a one. Just noting here, in case it might be helpful to someone, that we had to do the deriving as follows in wxMUD: class Connection : public wxEvtHandler, publi...
by leio
Thu Mar 16, 2006 3:46 am
Forum: C++ Development
Topic: chinese application on linux
Replies: 5
Views: 2630

You should really want an unicode build of wxGTK-2.6.3 RC1 or above (not patched 2.6.2 has a crash case in wxGetTranslation).
Otherwise, refer to the previous posters :)
by leio
Tue Mar 14, 2006 4:11 am
Forum: Compiler / Linking / IDE Related
Topic: setup.h is missing
Replies: 3
Views: 2192

./configure run will create it for you from setup.h.in, as appropriate (configure settings affect it).
Also don't mix 2.6's setup.h with 2.4's.
by leio
Tue Mar 14, 2006 4:07 am
Forum: C++ Development
Topic: disabling the background color drawing
Replies: 4
Views: 2502

SetBackgroundStyle(wxBG_STYLE_CUSTOM) perhaps?
You can see the manual or (now downloadable) wxBook for details.
by leio
Tue Mar 14, 2006 3:24 am
Forum: C++ Development
Topic: Problem with the fonts !
Replies: 2
Views: 3337

Yes, wxX11-2.6.2 has this font problem.
For wxX11 one could get at least 2.6.3 RC1.
Of course wxGTK is the proper answer unless you have special needs.
wxGTK is a stable officially supported port, while exactly that can't be really said to wxX11.
by leio
Tue Mar 14, 2006 12:53 am
Forum: General Development
Topic: wxFileDialog segmentation fault
Replies: 5
Views: 2840

I simply could never reproduce this. Neither bug 1287999 or your reported one.
by leio
Tue Mar 07, 2006 1:35 am
Forum: C++ Development
Topic: Unicode xgettext problems with _() over several code lines
Replies: 17
Views: 10865

I did that in my project. VS2005 was bitchy about it in unicode builds.
Currently I ended up doing

Code: Select all

_("text1"
wxT("text2")
);
But I fear that xgettext won't parse that as I'd wish it to. My project isn't yet set up for i18n.
by leio
Mon Mar 06, 2006 11:36 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 403498

I suggest getting rid of every occurance of wxDC::BeginDrawing and wxDC::EndDrawing. They do absolutely nothing in wx2.6 and they don't exist or are deprecated in CVS HEAD (as such this class won't compile against wx CVS HEAD, at least not with --disable-compat26 that I use).
by leio
Sun Mar 05, 2006 7:16 pm
Forum: C++ Development
Topic: Using wxChar in a switch statement
Replies: 6
Views: 4533

Code: Select all

case wxT('c'):
No particular need to break non-unicode builds by using always a wchar_t there, unconditionally disregarding wxwidgets build type.
by leio
Sun Mar 05, 2006 7:09 pm
Forum: C++ Development
Topic: Using rawbmp.h
Replies: 4
Views: 2529

Perhaps you could even write some of the documentation for the class? At least list the public members and what they or something. If not latex, then just text - I or someone else can do the necessary converting.