Search found 205 matches

by Jamie
Fri Aug 11, 2006 11:23 am
Forum: Open Discussion
Topic: 2.7.0-1 compile errors on MSW+BCC
Replies: 2
Views: 869

Change this, src/msw/button.cpp:853 DrawButtonText(hdc, &rectBtn, state & ODS_NOACCEL ? GetLabelText() : GetLabel(), state & ODS_DISABLED ? GetSysColor(COLOR_GRAYTEXT) : colFg); to this: DrawButtonText(hdc, &rectBtn, (state & ODS_NOACCEL ? GetLabelText() : GetLabel()), state & ODS_DISABLED ? GetSysC...
by Jamie
Tue Aug 08, 2006 4:52 am
Forum: General Forum Issues
Topic: Making money for the community
Replies: 17
Views: 3944

How about this for a proposal on how to use the money: Wait until some set amount has been raised. Have one week when everyone can suggest how they would like to see the money used. Then run a poll where only people with a minimum number of posts and/or awards can vote for which feature/bug fix/new ...
by Jamie
Sun Jul 30, 2006 8:48 am
Forum: C++ Development
Topic: screen flickering
Replies: 4
Views: 1111

Add this before you create rhe radio box

Code: Select all

wxSystemOptions::SetOption(_T("msw.staticbox.optimized-paint"), 0);
by Jamie
Sat Jul 22, 2006 11:42 pm
Forum: C++ Development
Topic: Memory leak on closing the application
Replies: 4
Views: 874

When you call wxLog::SetActiveTarget() you need to delete the old log

eg:

Code: Select all

    delete wxLog::SetActiveTarget(new wxLogTextCtrl(this));
by Jamie
Tue Jul 18, 2006 12:33 pm
Forum: Announcements and Discoveries
Topic: wxAUI integrated into wxWidgets CVS
Replies: 21
Views: 4357

The reason wxIFM is not in use is simple: I didn't implement interface saving and loading. I still maintain that drag and drop tabs along with my drag and drop system give wxIFM an edge up on the competition. ;) More likely it was the lack of toolbars. wxAUI was more of a replacement for wxFL. Pers...
by Jamie
Sun Jul 16, 2006 11:24 pm
Forum: C++ Development
Topic: Issues with Text Control and Focus
Replies: 4
Views: 1315

Have you tried using wxUpdateUIEvent?

You could do your evaluation logic there and use event.GetEventObject()->SetFocus(); to reset the focus if needed.
by Jamie
Wed Jul 05, 2006 10:40 am
Forum: C++ Development
Topic: Problem compiling wxTimer
Replies: 14
Views: 1172

Your header file uses MyTimer but your implementation file uses myTimer.

C++ is case sensitive.
by Jamie
Mon Jul 03, 2006 1:23 pm
Forum: C++ Development
Topic: Alpha channel in wxMenu and wxToolBar
Replies: 3
Views: 979

32 bit icons only work in XP. Notice how the .ico also has that black border when viewed in explorer on Win2k but looks ok on XP?

The png file works fine in both XP and Win2k. You did upgrade to 2.6.3 didn't you? As previously mentioned there was some bugs wrt menu image handling in 2.6.2.
by Jamie
Fri Jun 30, 2006 3:15 am
Forum: Component Writing
Topic: wxCoolBar updates
Replies: 1
Views: 1064

Can you please PM me a patch of your changes.
by Jamie
Fri Jun 30, 2006 12:57 am
Forum: C++ Development
Topic: Alpha channel in wxMenu
Replies: 13
Views: 1680

syber wrote:Else one problem with wxMenu in 2.6.2 (in 2.6.0 - it's work's perfect)

If menu have sub menu and i set icon - sub menu is disappear. is it a bug or it's designed to work that way?
Bug which has already been fixed in 2.6.3
by Jamie
Sat Apr 29, 2006 4:13 am
Forum: Platform Related Issues
Topic: Linux AS3.0 compile error
Replies: 5
Views: 1442

This bug has been reported on the bug tracker with a patch already supplied and committed. Get the updated file from here:

http://cvs.wxwidgets.org/viewcvs.cgi/*c ... v=1.60.2.4
by Jamie
Fri Apr 28, 2006 11:37 pm
Forum: Announcements and Discoveries
Topic: The road towards wxIFM2 - now on sourceforge!
Replies: 12
Views: 3562

wxIFM2 - LGPL or wxWidgets License? Finally some modern C++. wxWidgets biggest drawback is the "we support them all" mentality wrt compilers. Set some minimum required versions and don't compromise. Will you be using Boost? The main reason why people would prefer wxAUI is the toolbar support. Is thi...
by Jamie
Wed Apr 19, 2006 10:28 pm
Forum: C++ Development
Topic: wx*EventHanlder Macros and Templates
Replies: 2
Views: 807

It is possible to use templates with the static bindings but it isn't in 2.6. Have a look here: http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/include/wx/event.h.diff?r1=1.250&r2=1.251 Here is the sample code: #include <wx/wx.h> #define USE_CONNECT template<typename T1, typename T2> class Button: pu...