Search found 4 matches

by Ed Welch
Sun Jan 23, 2005 12:01 pm
Forum: The Code Dump
Topic: Hack for Linux wxGrid mousewheel bug
Replies: 1
Views: 2180

Hack for Linux wxGrid mousewheel bug

You may have noticed the mouse wheel scrolling does not work for the wxGrid under Linux. Here is a simple, but effective work-around (add to your wxGrid-drived class): BEGIN_EVENT_TABLE(EzGrid, wxGrid) #ifdef __WXGTK__ EVT_MOUSEWHEEL(EzGrid::OnMouseWheel) #endif END_EVENT_TABLE() #ifdef __WXGTK__ vo...
by Ed Welch
Fri Sep 10, 2004 7:09 pm
Forum: General Development
Topic: Change private to protected
Replies: 7
Views: 3174

I didn't say to make all private members protected, I just said there should be a good reason for making it private. The default case should be protected. This does not cause any problems. If a programmer tries to override something that he shouldn't, then it's *his* problem. He knows that he is muc...
by Ed Welch
Fri Sep 10, 2004 5:38 pm
Forum: General Development
Topic: Change private to protected
Replies: 7
Views: 3174

Change private to protected

I would make the following suggestion for the next release of wxWidgets. Change all private memeber variables and functions to protected, except where there is a proven case that private is really needed. In most cases there is no advantage to make a member of a class private rather than protected a...
by Ed Welch
Mon Sep 06, 2004 8:38 pm
Forum: General Forum Issues
Topic: Best place to log bugs?
Replies: 2
Views: 2427

Best place to log bugs?

Which is the best place to log bugs, in this forum or in the bug reports on the Sourceforge page?