This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id:
96136
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
bsi [...] hosember.hu
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
0.9923
Fixed in:
(no value)



Subject: Missing GetContentScaleFactor() in Wx::Window
I'm developing cross platform GUI apps for which I needed retina display support on OS X. This is pretty much done since wxWidgets 2.9.5 but wxPerl unfortunately missing the crucial window->GetContentScaleFactor() method which is needed to identify if we're on a retina display or not. I've attached a patch which adds this missing method to the Wx::Window interface.
Subject: WxWindow.patch
--- Wx-0.9923\Window.xs 2014-03-08 13:01:41.000000000 +0100 +++ Wx-0.9923.patched\Window.xs 2014-06-02 16:56:07.644314600 +0200 @@ -647,6 +647,13 @@ #endif +# if WXPERL_W_VERSION_GE( 2, 9, 5 ) + +double +wxWindow::GetContentScaleFactor() + +#endif + #if WXPERL_W_VERSION_GE( 2, 5, 3 ) void


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.