Search found 21 matches
- Tue Dec 20, 2016 7:46 pm
- Forum: Platform Related Issues
- Topic: Mac wxOwnerDrawnComboBox - wxTextEntry doesn't get Peer
- Replies: 6
- Views: 2009
Re: Mac wxOwnerDrawnComboBox - wxTextEntry doesn't get Peer
How should I go about recommending this fix to the wxWidgets maintainers?
- Tue Dec 20, 2016 7:25 pm
- Forum: Platform Related Issues
- Topic: Mac wxOwnerDrawnComboBox - wxTextEntry doesn't get Peer
- Replies: 6
- Views: 2009
Re: Mac wxOwnerDrawnComboBox - wxTextEntry doesn't get Peer
I've solved the problem locally , but I believe there is a bug in the wxOwnerDrawnComboBox hierarchy. The function wxTextEntry::GetTextPeer() works by doing a GetEditableWindow() and if it succeeds, does a GetPeer() which it tries to dynamically cast to a wxTextWidgetImpl*. In the case of wxOwnerDra...
- Mon Dec 19, 2016 10:47 pm
- Forum: Platform Related Issues
- Topic: Mac wxOwnerDrawnComboBox - wxTextEntry doesn't get Peer
- Replies: 6
- Views: 2009
Mac wxOwnerDrawnComboBox - wxTextEntry doesn't get Peer
Platform: Mac OSX 10.11.6 and 10.12 Compiler: Xcode 7.3.1 (7D1014) wxWidgets: OSX/cocoa 3.0.2 I am using an wxOwnerDrawnComboBox in a project being compiled for both Mac and Windows. On Windows, it works just fine, but on the Mac, it looks like an underlying class is not getting the (Mac) Peer obje...
- Mon Nov 28, 2016 9:52 pm
- Forum: Component Writing
- Topic: Extending wxComboBox - thin separator line between items
- Replies: 8
- Views: 17221
Re: Extending wxComboBox - thin separator line between items
Maybe just using a regular menu (perhaps something like this ) instead may be a better idea... Very clever! And it would certainly get me the dividing lines, since menus in both OSX and MSW have them. Are you saying that I should use the menu for my popup section but build the rest of the control m...
- Mon Nov 28, 2016 7:53 pm
- Forum: Component Writing
- Topic: Extending wxComboBox - thin separator line between items
- Replies: 8
- Views: 17221
Re: Extending wxComboBox - thin separator line between items
Aha... I'm browsing it now. Thanks!! It looks like it "manually" manages its popup control.
I'm thinking perhaps I could intercept the OnPaint for just the popup control, and be able to draw the dividing line there?
I'm thinking perhaps I could intercept the OnPaint for just the popup control, and be able to draw the dividing line there?
- Mon Nov 28, 2016 6:49 pm
- Forum: Component Writing
- Topic: Extending wxComboBox - thin separator line between items
- Replies: 8
- Views: 17221
Extending wxComboBox - thin separator line between items
I need to extend wxComboBox (or develop a combobox-like control) so that I can add one or more thin separator lines between choices, very much like the below: comboWithSep.jpg Details: I am using wxWidgets 3.0.2, and have no options to use any other version (this is an existing software project with...