Search found 80 matches

by BuschnicK
Fri Jun 27, 2008 11:52 am
Forum: C++ Development
Topic: wxColor vs wxColour
Replies: 4
Views: 1430

wxColor vs wxColour

Google fight to see which is correct ;-)

http://www.googlefight.com/index.php?la ... rd2=colour

Just a little non-sense post...
by BuschnicK
Thu Jun 19, 2008 12:22 pm
Forum: C++ Development
Topic: global key event default handling
Replies: 4
Views: 1723

Hello David, If you read #6 of http://docs.wxwidgets.org/stable/wx_eventhandlingoverview.html#eventprocessing you'll see that MyApp is where all unprocessed events go to die. So an event table there will catch the key events that you're interested in. This would have been perfect if it did what it s...
by BuschnicK
Thu Jun 19, 2008 7:52 am
Forum: C++ Development
Topic: global key event default handling
Replies: 4
Views: 1723

Thanks David. I have tried your suggestion with a wxHtmlWindow in a wxFrame and unfortunately it doesn't seem to work. I have overloaded the OnKeyDown handler in the htmlwindow derived class and in the frame. The frame handler just makes noise whenever it gets a keypress. The wxHtmlWindow sets propa...
by BuschnicK
Wed Jun 18, 2008 3:15 pm
Forum: C++ Development
Topic: global key event default handling
Replies: 4
Views: 1723

global key event default handling

Hello, I am looking for a way to handle certain key events that have not yet been handled by child windows in a global handler. I have found the wiki documentation at: http://wiki.wxwidgets.org/Catching_key_events_globally and tried the last two approaches. Both don't archieve what I'm after, since ...
by BuschnicK
Sat Jun 14, 2008 7:30 am
Forum: C++ Development
Topic: wxBrush hatched fills and origin
Replies: 5
Views: 1459

Thanks Grrr, that would be a workaround, although I think it's quite a bit of code and performance overhead. I would really prefer to juts have a setBrushOrigin function as part of wxDC/wxGraphicsContext and or wxBrush. How does one go about adding such a feature to wx? Do I have to submit a patch v...
by BuschnicK
Fri Jun 13, 2008 8:23 am
Forum: C++ Development
Topic: wxBrush hatched fills and origin
Replies: 5
Views: 1459

wxBrush hatched fills and origin

Is there a way to set the origin for a brush hatch? It seems wxWidgets always uses the coordinate system origin (top left corner of screen) as the pattern origin. This looks very strange when the object is animated because the pattern will stay put in one place while the surrounding object moves. I ...
by BuschnicK
Fri Jun 13, 2008 7:43 am
Forum: C++ Development
Topic: wxTreeCtrl bugs (SVN version from beginning of june)
Replies: 3
Views: 1149

I have added a new ticket to trac.

regards,

Sören
by BuschnicK
Thu Jun 12, 2008 2:24 pm
Forum: C++ Development
Topic: wxTreeCtrl bugs (SVN version from beginning of june)
Replies: 3
Views: 1149

wxTreeCtrl bugs (SVN version from beginning of june)

I am trying to get wxTreeCtrl multiselection to work on WindowsXP. I have stumbled upon several road-blocks, all reproducible with the standard wxWidgets sample application: 1) multiselection causes erroneous selectionChanged and selectionChanging events to be fired. Before the correct event arrives...
by BuschnicK
Thu Jun 05, 2008 2:50 pm
Forum: C++ Development
Topic: wxCalendarCtrl glitch
Replies: 2
Views: 1098

Thanks Jorg. I have created a trac account and submitted a patch for calctrl.cpp.

regards,

Sören
by BuschnicK
Thu Jun 05, 2008 1:55 pm
Forum: C++ Development
Topic: wxCalendarCtrl glitch
Replies: 2
Views: 1098

wxCalendarCtrl glitch

Hello, wxCalendarCtrl seems to have a bug on Windows with wxWidgets 2.8.7 correctly capturing keyboard input. Keyboard input is only captured after klicking somewhere on the calendar control's region, that's not specifically handled in the control's onclick handler. If you click on a specific date i...
by BuschnicK
Thu Jun 05, 2008 12:04 pm
Forum: C++ Development
Topic: wxCalendarCtrl multi-selection feature wish
Replies: 0
Views: 550

wxCalendarCtrl multi-selection feature wish

Hello, If I read the documentation (and code) correctly, wxCalendarCtrl allows selection of a single date only. For my application it would be great if selecting a date range would be possible. I'm thinking along the lines of holding the left mouse button down and dragging a selection bar across the...
by BuschnicK
Fri May 02, 2008 10:04 am
Forum: C++ Development
Topic: bug in wxDateTime ?
Replies: 2
Views: 1305

You are right, thank you. I had just figured this out two minutes ago - whoever invented the DST junk deserves to be shot, teared and feathered. Now the next question is: How do I best deal with this? I get my time values from a SQL database which are in GMT ignoring DST. wxDateTime calculates DST a...
by BuschnicK
Fri May 02, 2008 9:27 am
Forum: C++ Development
Topic: bug in wxDateTime ?
Replies: 2
Views: 1305

bug in wxDateTime ?

I have two datetime values initialized to different points in time but wrongly returning the same value. This is on wxWidgets 2.8.7 on windows with MSVC9. The code to reproduce the problem is: const wxDateTime test1( wxDateTime::wxDateTime_t( 30 ), // day of month wxDateTime::Month( 3 - 1 ), // mont...
by BuschnicK
Fri Sep 14, 2007 4:16 pm
Forum: Platform Related Issues
Topic: Windows: out-of-process COM server with wxWidgets?
Replies: 0
Views: 510

Windows: out-of-process COM server with wxWidgets?

Hello, I have developed a fairly substantial wxWidgets application. Now a client wants to use it from various scripting languages via the Microsoft COM interface. I have used COM before and always found it to be a major pain in the arse (= I've never learned it properly). Now my question is: How can...
by BuschnicK
Wed Feb 07, 2007 2:38 pm
Forum: C++ Development
Topic: wxTipWindow problems (mouseCapture and others)
Replies: 0
Views: 580

wxTipWindow problems (mouseCapture and others)

Hello, I'm trying to use wxTipWindow in 2.8.0 on WindowsXP with MSVC2005. I ran into some issues, most troubling of which being the "window that captured the mouse didn't process wxEVT_MOUSE_CAPTURE_LOST" assert in debug builds or access violation in release builds. I've already tried addi...