Search found 21 matches
- Wed Mar 29, 2017 7:02 pm
- Forum: Platform Related Issues
- Topic: Windows 7: UCS-2 or UTF-16? The Real Scoop?
- Replies: 1
- Views: 1047
Windows 7: UCS-2 or UTF-16? The Real Scoop?
. Platform: Windows 7 Pro (and maybe Win-10) Compiler: MS Visual Studio Pro 2013 (C++) wxWidgets: 3.0.2 I've searched both this site and the web in general, and found conflicting information regarding what form of Unicode is actually supported in Windows 7 -- natively, and in wxWidgets 3.0.2. Comme...
- Sat Mar 11, 2017 12:17 am
- Forum: Platform Related Issues
- Topic: Mac 10.10+ Accessibility "Protocols" (NSAccessibility)
- Replies: 4
- Views: 1934
Re: Mac 10.10+ Accessibility "Protocols" (NSAccessibility)
. Follow-up: For future readers... if you ever have this kind of problem with DontCreatePeer(), the answer is that you cannot skip that call. If you're going to replace the peer, you have to call this. Try the straightforward solution first, calling DontCreatePeer(), then either creating your own p...
- Fri Feb 10, 2017 5:25 pm
- Forum: Platform Related Issues
- Topic: Mac 10.10+ Accessibility "Protocols" (NSAccessibility)
- Replies: 4
- Views: 1934
Re: Mac 10.10+ Accessibility "Protocols" (NSAccessibility)
@OneEyeMan: I assume you mean "in wxWidgets" since OSX seems to have a whole, complicated, Objective-C based accessibility framework. @DoubleMax: That helped, but it turns out there are all sorts of other things that are necessary to "plug a control into" Mac accessibility. Progr...
- Wed Feb 01, 2017 10:15 pm
- Forum: Platform Related Issues
- Topic: Mac 10.10+ Accessibility "Protocols" (NSAccessibility)
- Replies: 4
- Views: 1934
Mac 10.10+ Accessibility "Protocols" (NSAccessibility)
Platform: Mac OSX 10.11.6,10.12 (and also maybe 10.9!) Compiler: Xcode 7.3.1 (7D1014) wxWidgets: OSX/cocoa 3.0.2 Colleagues: We're a shop of MS Windows programmers with only minimal Mac OSX knowledge... but we have an application we must field and support on both platforms. We also are required to ...
- Wed Feb 01, 2017 9:34 pm
- Forum: Platform Related Issues
- Topic: Mac wxOwnerDrawnComboBox - change button background?
- Replies: 6
- Views: 1962
Re: Mac wxOwnerDrawnComboBox - change button background?
I have found a workaround to make the non-native combo box look native. I overrode the OnPaintEvent. Example: BEGIN_EVENT_TABLE(MyComboBoxCtrl, wxOwnerDrawnComboBox) #ifdef __WXMAC__ EVT_PAINT(MyComboBoxCtrl::OnPaintEvent) #endif END_EVENT_TABLE() #ifdef __WXMAC__ void MyComboBoxCtrl::OnPaintEve...
- Sun Jan 15, 2017 10:40 pm
- Forum: C++ Development
- Topic: wxComboBox - difference between GetStringSelection() and GetValue()
- Replies: 1
- Views: 936
wxComboBox - difference between GetStringSelection() and GetValue()
Forgive this somewhat noob-ish question, but what's the difference in behavior between the GetStringSelection() and GetValue() functions on wxComboBox? Does this vary by platform? (I've RTFM'ed -- the documentation wasn't really clear. And I've delved into the source code a bit, but the actual imple...
- Fri Dec 23, 2016 11:55 pm
- Forum: General Development
- Topic: Why is wxComboBox not a wxComboCtrl?
- Replies: 5
- Views: 2474
Re: Why is wxComboBox not a wxComboCtrl?
As far as the fact of the popup being virtually anything, I understood that, which is why I thought there should be a class just "North" of wxComboCtrl, and not something that drew together all three ancestors including wxItemContainer. What I was thinking was that even the popup can be ab...
- Fri Dec 23, 2016 11:51 pm
- Forum: General Development
- Topic: Why is wxComboBox not a wxComboCtrl?
- Replies: 5
- Views: 2474
Re: Why is wxComboBox not a wxComboCtrl?
BTW: This is a user forum, if you want to talk to the core wx developers, use https://groups.google.com/forum/#!forum/wx-users Thanks! That's useful to know. And thanks for the rest of the comments, too. If it's okay to continue the discussion, I think that would be valuable for refining my thought...
- Fri Dec 23, 2016 4:05 am
- Forum: Platform Related Issues
- Topic: Mac wxOwnerDrawnComboBox - change button background?
- Replies: 6
- Views: 1962
Re: Mac wxOwnerDrawnComboBox - change button background?
Ugh, I was afraid of that. Thanks for the warning!!
What if I inherited directly from wxComboCtrl (meaning a bit of refactoring on my end)?
Does that look different on the Mac? The images in the online documentation imply it might.
What if I inherited directly from wxComboCtrl (meaning a bit of refactoring on my end)?
Does that look different on the Mac? The images in the online documentation imply it might.
- Fri Dec 23, 2016 4:01 am
- Forum: The Code Dump
- Topic: wxComboBox and sharing a new lesson
- Replies: 3
- Views: 19609
Re: wxComboBox and sharing a new lesson
I'm late to the game, but swimming, quacking, flying ducks doing tricks for the neighbors is brilliant. It has been a long time since I've read such an amusing object-orientation analogy!softport wrote:Soon you have your duck doing all sorts of tricks, and your neighbors aren't laughing at you anymore.
- Fri Dec 23, 2016 3:50 am
- Forum: General Development
- Topic: Why is wxComboBox not a wxComboCtrl?
- Replies: 5
- Views: 2474
Why is wxComboBox not a wxComboCtrl?
This question occurred to me when designing and building a new feature for some commercial software. "Why is wxComboBox not a wxComboCtrl?" Background info: I needed our application to check a setting in a configuration file, and if the setting was off , the code in one place would continu...
- Fri Dec 23, 2016 12:01 am
- Forum: Platform Related Issues
- Topic: Mac wxOwnerDrawnComboBox - change button background?
- Replies: 6
- Views: 1962
Re: Mac wxOwnerDrawnComboBox - change button background?
Yes, I saw those and have been playing around with them. I'd like to avoid setting a bitmap if possible because that makes it more difficult to integrate with OS-native theming (coloring). But if I don't find a better way, and if it gets me where I need to go without me having to rewrite my subclass...
- Thu Dec 22, 2016 8:57 pm
- Forum: Platform Related Issues
- Topic: Mac wxOwnerDrawnComboBox - change button background?
- Replies: 6
- Views: 1962
Mac wxOwnerDrawnComboBox - change button background?
Platform: Mac OSX 10.11.6 and 10.12 Compiler: Xcode 7.3.1 (7D1014) wxWidgets: OSX/cocoa 3.0.2 The wxOwnerDrawnComboBox on the Mac does not look the same as a wxComboBox: MacWrongCombo01.png Unfortunately, I'm required to preserve the same look & feel as a "regular" combo box, so I nee...
- Thu Dec 22, 2016 6:15 pm
- Forum: Platform Related Issues
- Topic: Mac wxOwnerDrawnComboBox - wxTextEntry doesn't get Peer
- Replies: 6
- Views: 2030
Re: Mac wxOwnerDrawnComboBox - wxTextEntry doesn't get Peer
That will take a little research on my part; I don't configure the library, it is built by a different team at my employer and used by multiple teams here. So I will need to pick this up later (which rankles me a bit, because I'm a big believer in the principle of "the way you pay for the help ...
- Wed Dec 21, 2016 8:22 pm
- Forum: Component Writing
- Topic: Extending wxComboBox - thin separator line between items
- Replies: 8
- Views: 21149
Re: Extending wxComboBox - thin separator line between items
I ended up using wxOwnerDrawnComboBox and just extending the text list class within.
Thanks for the help and advice!
Thanks for the help and advice!