Search found 34 matches

by mr1x
Fri Feb 13, 2009 5:53 pm
Forum: Platform Related Issues
Topic: [mac] wxListCtrl in report mode - can't catch column click
Replies: 5
Views: 1136

did you check the listctrl sample? It uses the following code to toggle the state of the first item: void MyFrame::OnToggleFirstSel(wxCommandEvent& WXUNUSED(event)) { m_listCtrl->SetItemState(0, (~m_listCtrl->GetItemState(0, wxLIST_STATE_SELECTED) ) & wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED); ...
by mr1x
Thu Feb 12, 2009 5:17 pm
Forum: Platform Related Issues
Topic: [mac] wxListCtrl in report mode - can't catch column click
Replies: 5
Views: 1136

Since everyone is quiet on this one, I assume this is a bug? What would be the proper way to report a bug?
by mr1x
Mon Feb 09, 2009 1:40 am
Forum: Platform Related Issues
Topic: [mac] wxListCtrl in report mode - can't catch column click
Replies: 5
Views: 1136

Anyone? Really need help here. This is basic functionality and I can't get around it. Let me try to describe what I am trying to achieve - may be someone will have a better idea. Let's say there is a list of emails - from/subject/date, very much like the list you see in Mozilla Thunderbird. When you...
by mr1x
Sat Feb 07, 2009 3:29 am
Forum: Platform Related Issues
Topic: [mac] wxListCtrl in report mode - can't catch column click
Replies: 5
Views: 1136

Well, I skirted this one by using "generic" control - clicks on column headers work in generic and do not work in native Mac report wxListCtrl. Now I am trying to programmatically select a list item (reselect the same item that was selected prior to sort) and this fails completely. I use EnsureVisib...
by mr1x
Sat Feb 07, 2009 1:38 am
Forum: Platform Related Issues
Topic: [MACOSX] how to get rid of osx dependancies ?
Replies: 14
Views: 1659

I am not the greatest Mac pro, but to the best of my understanding OS X specifically does not support static libraries. The only way to "emulate" static library is to use it as essentially another object file (i.e. instead of what you'd do on another system such as -lmylib, you place it on the linke...
by mr1x
Sat Feb 07, 2009 1:35 am
Forum: Platform Related Issues
Topic: [mac] wxListCtrl in report mode - can't catch column click
Replies: 5
Views: 1136

[mac] wxListCtrl in report mode - can't catch column click

I have a virtual report wxListCtrl in my application and I'd like to sort values in columns (and do other things) when column heading is clicked. I did the obvious thing: EVT_LIST_COL_CLICK( ID_MYLIST_LIST, myListCtrl::OnMyListColLeftClick ) However, OnMyListColLeftClick never gets actually called. ...
by mr1x
Mon Feb 02, 2009 5:22 am
Forum: Platform Related Issues
Topic: [mac] another one (float on parent frame steals keys)
Replies: 6
Views: 699

Well this is a user forum, so this issue might be better discussed on the wx-devel mailing list. I think you are somewhat exaggerating it though. I know many wxWidgets applications that were ported to mac with minimal effort. I don't doubt that, and obviously a lot of straightforward things work ju...
by mr1x
Sun Feb 01, 2009 3:39 am
Forum: Platform Related Issues
Topic: [mac] another one (float on parent frame steals keys)
Replies: 6
Views: 699

Well this a known problem with wxWidgets, but since its open-source, you probably know the answer ;) "it works on contributions, so if you meet bugs, fixing them and submitting patches is much more efficient than complaining" ;) As an open source developer myself I don't accept this attitude as val...
by mr1x
Sat Jan 31, 2009 3:05 am
Forum: Platform Related Issues
Topic: [mac] another one (float on parent frame steals keys)
Replies: 6
Views: 699

thats what I ended up doing. It does not look as nicely as a tool frame would have, but thats ok for functionality sake. what really annoys me is that at every step things that are supposed to work on all platforms work well in windows and fail on Mac. The purpose of multiplatform portability librar...
by mr1x
Fri Jan 30, 2009 1:51 am
Forum: Platform Related Issues
Topic: [mac] another one (float on parent frame steals keys)
Replies: 6
Views: 699

[mac] another one (float on parent frame steals keys)

I just can't get a break :) So I solved the problem of hanging UI by replacing dialog box with a frame in "float on parent mode". Even better, it stays on top when needed, goes away when not - what can be better. However, the floating frame contains a listbox. Once an item in the list box is selecte...
by mr1x
Thu Jan 29, 2009 2:08 pm
Forum: Platform Related Issues
Topic: [mac] Non-modal dialog and wxMessageBox
Replies: 2
Views: 714

More information, just in case. Here is a call stack: #0 GetCollectionExceptionProc () #1 GetCollectionItem () #2 HIGetCollectionItem () #3 GetWindowPropertyCore () #4 GetWindowSystemProperty () #5 GetPrivateDialogRefFromWindowRef () #6 ModalDialog () #7 RunStandardAlert () #8 wxMessageDialog::ShowM...
by mr1x
Thu Jan 29, 2009 2:00 pm
Forum: Platform Related Issues
Topic: [mac] Non-modal dialog and wxMessageBox
Replies: 2
Views: 714

It appears that this thread 2 years ago: http://lists.wxwidgets.org/pipermail/wx ... 99251.html describes same exact issue.

It does not show any resolution, though. I sure hope it was remedied since then - my application relies on being able to have another window at all times.
by mr1x
Thu Jan 29, 2009 1:54 pm
Forum: Platform Related Issues
Topic: [mac] Non-modal dialog and wxMessageBox
Replies: 2
Views: 714

[mac] Non-modal dialog and wxMessageBox

I am seeing an issue on Mac (not on Windows) that may be a bug (or me not doing it right?) If my application has a non-modal dialog with a "stay on top" flag set, and while it is shown, a wxMessageBox is created at the same time - application hangs completely inside the ModalDialog (presumably for t...
by mr1x
Fri Jan 23, 2009 8:00 pm
Forum: C++ Development
Topic: Menu accelerators vs. key events
Replies: 0
Views: 308

Menu accelerators vs. key events

I am using direct handling of keyboard events to perform certain operations, i.e. when 'X' is pressed, a function is called from keydown event handler. I also have some of the same items available from the menu, i.e. when item "Close File" is selected, the same function is called. If I add 'X' as an...
by mr1x
Thu Jan 08, 2009 5:40 pm
Forum: Platform Related Issues
Topic: Mouse events issue on Mac
Replies: 9
Views: 1001

Ouch you're right :( Sorry, my mistake. This should be relatovely easy to fix however, simply add an 'evemt sink' parameter to the ->Connect calls. Just tried that - I didn't get as far as testing if the events are called in the right object (though I think they are) because - on closing applicatio...