Search found 3 matches

by timrprobocom
Fri Dec 13, 2019 8:07 pm
Forum: Platform Related Issues
Topic: wxDC DrawLines on MacOS Performance Problem
Replies: 4
Views: 136

Re: wxDC DrawLines on MacOS Performance Problem

It's not suspicious in any way. If you're drawing in a paint handler, you use a wxPaintDC. If you're drawing outside of a paint handler, you use a wxClientDC. All of that is just for convenience, anyway. The low-level drawing is all done in the base wxDC class. Because I'm drawing in a timer event, ...
by timrprobocom
Fri Dec 13, 2019 7:10 pm
Forum: Platform Related Issues
Topic: wxDC DrawLines on MacOS Performance Problem
Replies: 4
Views: 136

wxDC DrawLines on MacOS Performance Problem

I have a wxWidgets telemetry application that needs to draw 6,000 short lines several times per second. It's been in production use for several years (although production is on Linux, not Mac). I'm sure I've tried the line-drawing page on MacOS before, but if so, it's been a while. On WIndows, drawi...
by timrprobocom
Tue Sep 13, 2016 6:05 am
Forum: Platform Related Issues
Topic: Strange wxTextCtrl Sizing on OSX
Replies: 1
Views: 532

Strange wxTextCtrl Sizing on OSX

This is the worst kind of question, because I have not yet been able to reproduce the problem in an isolated test case. I have a wxApp which creates a wxFrame which contains a wxNotebook. That notebook eventually gets added to a sizer with a Fit call. The second page added to the notebook is a wxTex...